diff options
Diffstat (limited to 'GeneralStateTests/stRevertTest/RevertOpcodeReturn.json')
-rw-r--r-- | GeneralStateTests/stRevertTest/RevertOpcodeReturn.json | 649 |
1 files changed, 119 insertions, 530 deletions
diff --git a/GeneralStateTests/stRevertTest/RevertOpcodeReturn.json b/GeneralStateTests/stRevertTest/RevertOpcodeReturn.json index 2ac2dc10d..501c99865 100644 --- a/GeneralStateTests/stRevertTest/RevertOpcodeReturn.json +++ b/GeneralStateTests/stRevertTest/RevertOpcodeReturn.json @@ -2,563 +2,152 @@ "RevertOpcodeReturn" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeReturnFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x26fbf1e03628ac787377d3e309d18c04d005d31743b650400e6da40539474c79", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x26fbf1e03628ac787377d3e309d18c04d005d31743b650400e6da40539474c79", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x26fbf1e03628ac787377d3e309d18c04d005d31743b650400e6da40539474c79", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x26fbf1e03628ac787377d3e309d18c04d005d31743b650400e6da40539474c79", - "indexes" : { - "data" : 3, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 3, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x26fbf1e03628ac787377d3e309d18c04d005d31743b650400e6da40539474c79", - "indexes" : { - "data" : 4, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 4, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x26fbf1e03628ac787377d3e309d18c04d005d31743b650400e6da40539474c79", - "indexes" : { - "data" : 5, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 5, - "gas" : 1, - "value" : 0 - } - } - ], - "EIP158" : [ - { - "hash" : "0x26fbf1e03628ac787377d3e309d18c04d005d31743b650400e6da40539474c79", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x26fbf1e03628ac787377d3e309d18c04d005d31743b650400e6da40539474c79", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x26fbf1e03628ac787377d3e309d18c04d005d31743b650400e6da40539474c79", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x26fbf1e03628ac787377d3e309d18c04d005d31743b650400e6da40539474c79", - "indexes" : { - "data" : 3, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 3, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x26fbf1e03628ac787377d3e309d18c04d005d31743b650400e6da40539474c79", - "indexes" : { - "data" : 4, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 4, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x26fbf1e03628ac787377d3e309d18c04d005d31743b650400e6da40539474c79", - "indexes" : { - "data" : 5, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 5, - "gas" : 1, - "value" : 0 + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [ + "Frontier", + "Homestead", + "EIP150", + "EIP158" + ], + "result" : { + "a000000000000000000000000000000000000000" : { + "balance" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" } } - ], - "Frontier" : [ - { - "hash" : "0x070f9dec5ea98b79d4cc71a6e2fb99f40d90862131f8e23331c3a0a580f2dccd", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x070f9dec5ea98b79d4cc71a6e2fb99f40d90862131f8e23331c3a0a580f2dccd", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x070f9dec5ea98b79d4cc71a6e2fb99f40d90862131f8e23331c3a0a580f2dccd", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x070f9dec5ea98b79d4cc71a6e2fb99f40d90862131f8e23331c3a0a580f2dccd", - "indexes" : { - "data" : 3, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 3, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x070f9dec5ea98b79d4cc71a6e2fb99f40d90862131f8e23331c3a0a580f2dccd", - "indexes" : { - "data" : 4, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 4, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x070f9dec5ea98b79d4cc71a6e2fb99f40d90862131f8e23331c3a0a580f2dccd", - "indexes" : { - "data" : 5, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 5, - "gas" : 1, - "value" : 0 - } - } - ], - "Homestead" : [ - { - "hash" : "0x070f9dec5ea98b79d4cc71a6e2fb99f40d90862131f8e23331c3a0a580f2dccd", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x070f9dec5ea98b79d4cc71a6e2fb99f40d90862131f8e23331c3a0a580f2dccd", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x070f9dec5ea98b79d4cc71a6e2fb99f40d90862131f8e23331c3a0a580f2dccd", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x070f9dec5ea98b79d4cc71a6e2fb99f40d90862131f8e23331c3a0a580f2dccd", - "indexes" : { - "data" : 3, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 3, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x070f9dec5ea98b79d4cc71a6e2fb99f40d90862131f8e23331c3a0a580f2dccd", - "indexes" : { - "data" : 4, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 4, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x070f9dec5ea98b79d4cc71a6e2fb99f40d90862131f8e23331c3a0a580f2dccd", - "indexes" : { - "data" : 5, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 5, - "gas" : 1, - "value" : 0 + }, + { + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x726576657274206d657373616765" + } + }, + "a100000000000000000000000000000000000000" : { + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" } } - ], - "Metropolis" : [ - { - "hash" : "0x60b9ed910a10118d39799374bf0defc97313bbbc449a621cbf7eb3d4d68ad450", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x60b9ed910a10118d39799374bf0defc97313bbbc449a621cbf7eb3d4d68ad450", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x11b003005214b4ec1532ec3381f60107b974a1c242f52787ca40d3f3fe3672b4", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11b003005214b4ec1532ec3381f60107b974a1c242f52787ca40d3f3fe3672b4", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x26fbf1e03628ac787377d3e309d18c04d005d31743b650400e6da40539474c79", - "indexes" : { - "data" : 2, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11bd0a7dd947e26013b63c7f1dad8e16343c4eec8646222186a4f2cf0ac032bc", - "indexes" : { - "data" : 2, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x11b003005214b4ec1532ec3381f60107b974a1c242f52787ca40d3f3fe3672b4", - "indexes" : { - "data" : 3, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11b003005214b4ec1532ec3381f60107b974a1c242f52787ca40d3f3fe3672b4", - "indexes" : { - "data" : 3, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x11b003005214b4ec1532ec3381f60107b974a1c242f52787ca40d3f3fe3672b4", - "indexes" : { - "data" : 4, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11b003005214b4ec1532ec3381f60107b974a1c242f52787ca40d3f3fe3672b4", - "indexes" : { - "data" : 4, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x11b003005214b4ec1532ec3381f60107b974a1c242f52787ca40d3f3fe3672b4", - "indexes" : { - "data" : 5, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x11b003005214b4ec1532ec3381f60107b974a1c242f52787ca40d3f3fe3672b4", - "indexes" : { - "data" : 5, - "gas" : 1, - "value" : 0 + }, + { + "indexes" : { + "data" : [ + 1, + 2, + 3, + 4, + 5 + ], + "gas" : 0, + "value" : -1 + }, + "network" : [ + "Metropolis" + ], + "result" : { + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00" + } + }, + "a100000000000000000000000000000000000000" : { + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" } } - ] - }, + } + ], "pre" : { - "0xa000000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x60206000600060006000600035620249f0f1600155600051600255", - "nonce" : "0x00", + "a000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ [[1]](CALL 150000 (CALLDATALOAD 0) 0 0 0 0 32) [[2]] (MLOAD 0) }", + "nonce" : "", "storage" : { } }, - "0xa100000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6c726576657274656420646174616000556d726576657274206d65737361676560005260206000fd", - "nonce" : "0x00", + "a100000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ (SSTORE 0 0x72657665727465642064617461) (MSTORE 0 0x726576657274206d657373616765) (REVERT 0 32) }", + "nonce" : "0", "storage" : { } }, - "0xa200000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6c726576657274656420646174616000556d726576657274206d65737361676560005260006000fd", - "nonce" : "0x00", + "a200000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ (SSTORE 0 0x72657665727465642064617461) (MSTORE 0 0x726576657274206d657373616765) (REVERT 0 0) }", + "nonce" : "0", "storage" : { } }, - "0xa300000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6c726576657274656420646174616000556d726576657274206d6573736167656000526e0fffffffffffffffffffffffffffff6000fd", - "nonce" : "0x00", + "a300000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ (SSTORE 0 0x72657665727465642064617461) (MSTORE 0 0x726576657274206d657373616765) (REVERT 0 0xfffffffffffffffffffffffffffff) }", + "nonce" : "0", "storage" : { } }, - "0xa400000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6c726576657274656420646174616000556d726576657274206d6573736167656000526000610100fd", - "nonce" : "0x00", + "a400000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ (SSTORE 0 0x72657665727465642064617461) (MSTORE 0 0x726576657274206d657373616765) (REVERT 0x0100 0x00) }", + "nonce" : "0", "storage" : { } }, - "0xa500000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6c726576657274656420646174616000556d726576657274206d65737361676560005260006001fd", - "nonce" : "0x00", + "a500000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ (SSTORE 0 0x72657665727465642064617461) (MSTORE 0 0x726576657274206d657373616765) (REVERT 0x01 0x00) }", + "nonce" : "0", "storage" : { } }, - "0xa600000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6c726576657274656420646174616000556d726576657274206d65737361676560005260006e0ffffffffffffffffffffffffffffffd", - "nonce" : "0x00", + "a600000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ (SSTORE 0 0x72657665727465642064617461) (MSTORE 0 0x726576657274206d657373616765) (REVERT 0xfffffffffffffffffffffffffffff 0x00) }", + "nonce" : "0", "storage" : { } }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0xe8d4a51000", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } } @@ -573,15 +162,15 @@ "000000000000000000000000a600000000000000000000000000000000000000" ], "gasLimit" : [ - "0x0c3500", - "0x011170" + "800000", + "70000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xa000000000000000000000000000000000000000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "a000000000000000000000000000000000000000", "value" : [ - "0x00" + "0" ] } } |