aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stStaticCall
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-06-24 04:45:42 +0800
committerDimitry <winsvega@mail.ru>2017-06-24 04:45:42 +0800
commit182908905d69bf0a2b83d64c559aea8d1ac3a3e8 (patch)
tree0124b8e0cf63091ded9bf7180147faa7f3cdcae2 /GeneralStateTests/stStaticCall
parent4988d34926ed84976466805527e12e90344f79dd (diff)
downloadtangerine-tests-182908905d69bf0a2b83d64c559aea8d1ac3a3e8.tar
tangerine-tests-182908905d69bf0a2b83d64c559aea8d1ac3a3e8.tar.gz
tangerine-tests-182908905d69bf0a2b83d64c559aea8d1ac3a3e8.tar.bz2
tangerine-tests-182908905d69bf0a2b83d64c559aea8d1ac3a3e8.tar.lz
tangerine-tests-182908905d69bf0a2b83d64c559aea8d1ac3a3e8.tar.xz
tangerine-tests-182908905d69bf0a2b83d64c559aea8d1ac3a3e8.tar.zst
tangerine-tests-182908905d69bf0a2b83d64c559aea8d1ac3a3e8.zip
correct staticcall tests
Diffstat (limited to 'GeneralStateTests/stStaticCall')
-rw-r--r--GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow.json53
-rw-r--r--GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow2.json7
-rw-r--r--GeneralStateTests/stStaticCall/static_ReturnTest.json7
3 files changed, 64 insertions, 3 deletions
diff --git a/GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow.json b/GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow.json
index 844a31b13..8d949da6d 100644
--- a/GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow.json
+++ b/GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow.json
@@ -1,5 +1,10 @@
{
"static_Call1024BalanceTooLow" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.d239486b.Linux.g++",
+ "source" : "/src/GeneralStateTestsFiller/stStaticCall/static_Call1024BalanceTooLowFiller.json"
+ },
"env" : {
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
@@ -91,11 +96,57 @@
}
},
{
- "hash" : "0xb971f1cef2521c89482bdae065a73a1e66450d1e6958694b63eb6b221d7782f3",
+ "hash" : "0xb02ff201d96fed0845c416053cfd28c239653041b732838ce42b0fbb954255c5",
"indexes" : {
"data" : 1,
"gas" : 0,
"value" : 0
+ },
+ "postState" : {
+ "0x1000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6000600060006000346000355af16000555a600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01",
+ "0x01" : "0x0ffffff458dd"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x0cccce",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xfffffffffffffffffffffffffff33327",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ },
+ "0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x1b58",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0400",
+ "code" : "0x60016000540160005560006000600060005473bbbf5374fce5edbc8e2a8697c15331677e6ebf0b650ffffffffffffa600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xcbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x040a",
+ "code" : "0x60016000510160005260006000600060005173cbbf5374fce5edbc8e2a8697c15331677e6ebf0b650ffffffffffffa602052",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
}
}
]
diff --git a/GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow2.json b/GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow2.json
index b8e69ef52..1d4ac1b12 100644
--- a/GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow2.json
+++ b/GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow2.json
@@ -1,5 +1,10 @@
{
"static_Call1024BalanceTooLow2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.d239486b.Linux.g++",
+ "source" : "/src/GeneralStateTestsFiller/stStaticCall/static_Call1024BalanceTooLow2Filler.json"
+ },
"env" : {
"currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x020000",
@@ -91,7 +96,7 @@
}
},
{
- "hash" : "0xdcaba9531dd58af253e2d3803c9dd0365878a74062a30b38159c3a34083e1c5e",
+ "hash" : "0x286a8f834d47eae85a92d2e14062c0d930388ac53384b1a17a9c14aec7863699",
"indexes" : {
"data" : 1,
"gas" : 0,
diff --git a/GeneralStateTests/stStaticCall/static_ReturnTest.json b/GeneralStateTests/stStaticCall/static_ReturnTest.json
index 0b8b5f02b..4a02954fb 100644
--- a/GeneralStateTests/stStaticCall/static_ReturnTest.json
+++ b/GeneralStateTests/stStaticCall/static_ReturnTest.json
@@ -1,5 +1,10 @@
{
"static_ReturnTest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.d239486b.Linux.g++",
+ "source" : "/src/GeneralStateTestsFiller/stStaticCall/static_ReturnTestFiller.json"
+ },
"env" : {
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
@@ -51,7 +56,7 @@
],
"Metropolis" : [
{
- "hash" : "0x74aae4d5b5d99a68dedd68e6512dadc53b9469ac6dd7473fd1430e246a617806",
+ "hash" : "0x1bf1cf36b2124a96efb8d31b1b47f721a804adec9b05a4b1ef4c2c6e00f3b59f",
"indexes" : {
"data" : 0,
"gas" : 0,