diff options
15 files changed, 4247 insertions, 2 deletions
diff --git a/GeneralStateTests/stRevertTest/RevertOpcode.json b/GeneralStateTests/stRevertTest/RevertOpcode.json new file mode 100644 index 000000000..80977eb7a --- /dev/null +++ b/GeneralStateTests/stRevertTest/RevertOpcode.json @@ -0,0 +1,217 @@ +{ + "RevertOpcode" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ], + "EIP158" : [ + { + "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ], + "Frontier" : [ + { + "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ], + "Homestead" : [ + { + "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "299e173f3b37ebb90f4390583926658bb2a000d031b2b1ed2a248e5a8a47f4d7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ], + "Metropolis" : [ + { + "hash" : "94cc837a7eecd810063cc425e84e9467e74134c9a516d4df91f71f201fe77676", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "94cc837a7eecd810063cc425e84e9467e74134c9a516d4df91f71f201fe77676", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "f0b23a60fca645c6d2726c2a6ff621b379b77902e5a99ebc71035b13a1da70fb", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ] + }, + "pre" : { + "a000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600160005560016000fd6011600155", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "800000", + "30000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "a000000000000000000000000000000000000000", + "value" : [ + "0", + "10" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stRevertTest/RevertOpcodeCalls.json b/GeneralStateTests/stRevertTest/RevertOpcodeCalls.json new file mode 100644 index 000000000..a94b06c91 --- /dev/null +++ b/GeneralStateTests/stRevertTest/RevertOpcodeCalls.json @@ -0,0 +1,421 @@ +{ + "RevertOpcodeCalls" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "710afb013436152320710b84da2b4546bf0aef1d68f634c478d4981d4105f255", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c879f36afaeace32cc8b9462dad38f688ec506a89884b21b6e60d8249b3ab136", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "7b5aea4a6d7e6ac3b1a96651dc76c4171af4cb599bb4e8c242e18c83dd7533c8", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "d5a14b2554f5d08626ce5cdfac36217426d292b62ff994e25fe89cf8d3c93743", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "710afb013436152320710b84da2b4546bf0aef1d68f634c478d4981d4105f255", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "c879f36afaeace32cc8b9462dad38f688ec506a89884b21b6e60d8249b3ab136", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "7b5aea4a6d7e6ac3b1a96651dc76c4171af4cb599bb4e8c242e18c83dd7533c8", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "d5a14b2554f5d08626ce5cdfac36217426d292b62ff994e25fe89cf8d3c93743", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "917fea5fed77119230c4120bc4df0d7f1e038160c5c733cd1e779038b67e122a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "b30ce1d2c038b2632e9bf010a78c665339513f1d2e762c6b9bb12a7494831ac2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "9eaa832bba7dc43eb5e2b097c9a33430d6957285873991c69847ced845ba4f26", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "249083970cef69bb1a73955e5f3faff87414f280b3010de5409c70aa2f35d8dc", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "917fea5fed77119230c4120bc4df0d7f1e038160c5c733cd1e779038b67e122a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "b30ce1d2c038b2632e9bf010a78c665339513f1d2e762c6b9bb12a7494831ac2", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "9a43f317297c23f76ed28075273dd8667a5fd0f0bb5d45dca4c86c311706d26a", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "249083970cef69bb1a73955e5f3faff87414f280b3010de5409c70aa2f35d8dc", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "407fb3b03966b0d591a120f7b35135ddf221aadedee169c7d9d1a946e0354252", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "145fbde74591c64f02a4a791ccc1b96d60f031559605f8206bf0fe3c07de982d", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "fcf18c617e61b5a16e9b550620ce5926908bf0ee8d9e049f62ce9c924b88ae2c", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "bd8e9a2719f36730a9c3dcbcb952d55fca79fab9cd57231196647975467c471f", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "ce5a5ad6a9fdb0eb1aed2c0f8b14764f6b033c83920bde8675442e13c3ee3e08", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + } + ] + }, + "pre" : { + "094f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x600060006000600060006000356203f7a0f1600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "b0005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61c350f1600055600e600255", + "nonce" : "0x00", + "storage" : { + } + }, + "b1005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61c350f2600055600e600255", + "nonce" : "0x00", + "storage" : { + } + }, + "b2005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61c350f4600055600e600255", + "nonce" : "0x00", + "storage" : { + } + }, + "b3005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6000600060006000600073b3305374fce5edbc8e2a8697c15331677e6ebf0b620186a0f1600055600e600255", + "nonce" : "0x00", + "storage" : { + } + }, + "b3305374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61c350f1600455600e600555", + "nonce" : "0x00", + "storage" : { + } + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x600c60015560016000fd", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x000000000000000000000000b0005374fce5edbc8e2a8697c15331677e6ebf0b", + "0x000000000000000000000000b1005374fce5edbc8e2a8697c15331677e6ebf0b", + "0x000000000000000000000000b2005374fce5edbc8e2a8697c15331677e6ebf0b", + "0x000000000000000000000000b3005374fce5edbc8e2a8697c15331677e6ebf0b" + ], + "gasLimit" : [ + "460000", + "88000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "094f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stRevertTest/RevertOpcodeCreate.json b/GeneralStateTests/stRevertTest/RevertOpcodeCreate.json new file mode 100644 index 000000000..36da93572 --- /dev/null +++ b/GeneralStateTests/stRevertTest/RevertOpcodeCreate.json @@ -0,0 +1,136 @@ +{ + "RevertOpcodeCreate" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "2123e2e637ea369203c1e524079cda098388fb6cd7a5d51436c9aeb522efa47e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "b72445d263cd1f0e84ee4087b5233aa0aa7c43fd1383b9d469fca46248d88431", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "2123e2e637ea369203c1e524079cda098388fb6cd7a5d51436c9aeb522efa47e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "b72445d263cd1f0e84ee4087b5233aa0aa7c43fd1383b9d469fca46248d88431", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "2123e2e637ea369203c1e524079cda098388fb6cd7a5d51436c9aeb522efa47e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "b72445d263cd1f0e84ee4087b5233aa0aa7c43fd1383b9d469fca46248d88431", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "2123e2e637ea369203c1e524079cda098388fb6cd7a5d51436c9aeb522efa47e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "b72445d263cd1f0e84ee4087b5233aa0aa7c43fd1383b9d469fca46248d88431", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "eeac7cc67af32c9fc40749602cda167c54269830d2cb71fd3586e1ed4f458baa", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "b72445d263cd1f0e84ee4087b5233aa0aa7c43fd1383b9d469fca46248d88431", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ] + }, + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6e600160005560016000fd6011600155600052600f60116001f0600155600c600055", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x600160005560016000fe6011600155" + ], + "gasLimit" : [ + "460000", + "70000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stRevertTest/RevertOpcodeDirectCall.json b/GeneralStateTests/stRevertTest/RevertOpcodeDirectCall.json new file mode 100644 index 000000000..70584e6cc --- /dev/null +++ b/GeneralStateTests/stRevertTest/RevertOpcodeDirectCall.json @@ -0,0 +1,150 @@ +{ + "RevertOpcodeDirectCall" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "4b5855c46e03a2b0f21f4e6e80b6a24551be97416f9eb725e191edb78fecc8b8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "a57311b15ec973189e296050f35d5bd8f244246ff3c69a88ec8f9358cb0d15d4", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "4b5855c46e03a2b0f21f4e6e80b6a24551be97416f9eb725e191edb78fecc8b8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "a57311b15ec973189e296050f35d5bd8f244246ff3c69a88ec8f9358cb0d15d4", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0c45c39cc33809ab7c3f91ebbe39b933e3968b9dbb885b3e60c6b743e536061b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "a57311b15ec973189e296050f35d5bd8f244246ff3c69a88ec8f9358cb0d15d4", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0c45c39cc33809ab7c3f91ebbe39b933e3968b9dbb885b3e60c6b743e536061b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "a57311b15ec973189e296050f35d5bd8f244246ff3c69a88ec8f9358cb0d15d4", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "b1da2f7f7736fefd7d61d0938e43457d2f48fd610a26a35bf94f5247aa672887", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "a57311b15ec973189e296050f35d5bd8f244246ff3c69a88ec8f9358cb0d15d4", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + } + ] + }, + "pre" : { + "094f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6000600060006000600060003561ea60f1600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61c350f1600055600e600255", + "nonce" : "0x00", + "storage" : { + } + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x600c60015560016000fd", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x000000000000000000000000b94f5374fce5edbc8e2a8697c15331677e6ebf0b" + ], + "gasLimit" : [ + "460000", + "68000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stRevertTest/RevertOpcodeInInit.json b/GeneralStateTests/stRevertTest/RevertOpcodeInInit.json new file mode 100644 index 000000000..1dd874962 --- /dev/null +++ b/GeneralStateTests/stRevertTest/RevertOpcodeInInit.json @@ -0,0 +1,210 @@ +{ + "RevertOpcodeInInit" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "7969d9a42e6ee6022e00fd68b4e831dbbefb73c0bfece34b5eb59e4d037ece23", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "7969d9a42e6ee6022e00fd68b4e831dbbefb73c0bfece34b5eb59e4d037ece23", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "17ca3d673553cbfcf5de4a99ea08088763bbf64aa67ae17a485f585bcc01d3f2", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "17ca3d673553cbfcf5de4a99ea08088763bbf64aa67ae17a485f585bcc01d3f2", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ], + "EIP158" : [ + { + "hash" : "7969d9a42e6ee6022e00fd68b4e831dbbefb73c0bfece34b5eb59e4d037ece23", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "7969d9a42e6ee6022e00fd68b4e831dbbefb73c0bfece34b5eb59e4d037ece23", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "17ca3d673553cbfcf5de4a99ea08088763bbf64aa67ae17a485f585bcc01d3f2", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "17ca3d673553cbfcf5de4a99ea08088763bbf64aa67ae17a485f585bcc01d3f2", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ], + "Frontier" : [ + { + "hash" : "7969d9a42e6ee6022e00fd68b4e831dbbefb73c0bfece34b5eb59e4d037ece23", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "7969d9a42e6ee6022e00fd68b4e831dbbefb73c0bfece34b5eb59e4d037ece23", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "191cd75344d7c8fac8c7356ea544a74818271d12aabe0f5a830c92ba3c2383c2", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "191cd75344d7c8fac8c7356ea544a74818271d12aabe0f5a830c92ba3c2383c2", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ], + "Homestead" : [ + { + "hash" : "7969d9a42e6ee6022e00fd68b4e831dbbefb73c0bfece34b5eb59e4d037ece23", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "7969d9a42e6ee6022e00fd68b4e831dbbefb73c0bfece34b5eb59e4d037ece23", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "17ca3d673553cbfcf5de4a99ea08088763bbf64aa67ae17a485f585bcc01d3f2", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "17ca3d673553cbfcf5de4a99ea08088763bbf64aa67ae17a485f585bcc01d3f2", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ], + "Metropolis" : [ + { + "hash" : "79be816b8d710425c26c8c1ee39110a77775145d625ba505cdaa08b02cc85aa9", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "79be816b8d710425c26c8c1ee39110a77775145d625ba505cdaa08b02cc85aa9", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "17ca3d673553cbfcf5de4a99ea08088763bbf64aa67ae17a485f585bcc01d3f2", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "17ca3d673553cbfcf5de4a99ea08088763bbf64aa67ae17a485f585bcc01d3f2", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + } + ] + }, + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x600160005560016000fd6011600155" + ], + "gasLimit" : [ + "160000", + "40000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0", + "10" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stRevertTest/RevertOpcodeMultipleSubCalls.json b/GeneralStateTests/stRevertTest/RevertOpcodeMultipleSubCalls.json new file mode 100644 index 000000000..948739f49 --- /dev/null +++ b/GeneralStateTests/stRevertTest/RevertOpcodeMultipleSubCalls.json @@ -0,0 +1,1391 @@ +{ + "RevertOpcodeMultipleSubCalls" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "d8f4e54b56f537699870c958f97ff83480035abfbd13d3511d418baa5cae7c09", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "b6cc57520d9770d30f2ae303a3011772a6a92d1746b1a4ef6f6894ddefb8b78b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "548ca959f5bc870502e34a6a6588fcc84339f07226557a9b601e580ee434cf7e", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "404c9b96e72d670b118f253994533902cea8e8905cb6a341e12a91c8500b70f7", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "01cb4b1894d236991dd8f624910ac7cd11708731342187df760267723c7609a8", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "194d498eda8247cc0f13bd37c69b1151c4ab3c1e65e8815b9ce1cbdd0c9ee4a1", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "1e4c40e58408c4916b3c0acc7044049824c50b0bd97091cb33eca52222eea6a7", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c04067e96a83e2b0c65f81c8a210a2088b45c4cbaa5a15b59f3ca21f1d8ae07", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "5d50590051ccaf4888d6aaea2e67c3c221418e6d63ac08ccaeb83f8972cef939", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "34b72637b56181f53edcff598845763a878c55eeb2366ba4d1e4f3e6244c9062", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "548ca959f5bc870502e34a6a6588fcc84339f07226557a9b601e580ee434cf7e", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "404c9b96e72d670b118f253994533902cea8e8905cb6a341e12a91c8500b70f7", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "01cb4b1894d236991dd8f624910ac7cd11708731342187df760267723c7609a8", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "194d498eda8247cc0f13bd37c69b1151c4ab3c1e65e8815b9ce1cbdd0c9ee4a1", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "1e4c40e58408c4916b3c0acc7044049824c50b0bd97091cb33eca52222eea6a7", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c04067e96a83e2b0c65f81c8a210a2088b45c4cbaa5a15b59f3ca21f1d8ae07", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "c5a643f1bfb926531f64c8bacaed120944594d9d40bb9623bab4da7b3a223f12", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e5636003a6a46f677815d577aa34d0327e1ffb059035e6d7bd1c0cde96bbcc68", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "548ca959f5bc870502e34a6a6588fcc84339f07226557a9b601e580ee434cf7e", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "404c9b96e72d670b118f253994533902cea8e8905cb6a341e12a91c8500b70f7", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "01cb4b1894d236991dd8f624910ac7cd11708731342187df760267723c7609a8", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "194d498eda8247cc0f13bd37c69b1151c4ab3c1e65e8815b9ce1cbdd0c9ee4a1", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "1e4c40e58408c4916b3c0acc7044049824c50b0bd97091cb33eca52222eea6a7", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c04067e96a83e2b0c65f81c8a210a2088b45c4cbaa5a15b59f3ca21f1d8ae07", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "1afdbdfbba02f176a74a058ce687039fc418c16426ee072cf820edaa1136a20a", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "4ad3d92aa98e194cb4b7bf8f889adc498f316c5a026fc36e4150b2cfa026a83c", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "548ca959f5bc870502e34a6a6588fcc84339f07226557a9b601e580ee434cf7e", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "404c9b96e72d670b118f253994533902cea8e8905cb6a341e12a91c8500b70f7", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "01cb4b1894d236991dd8f624910ac7cd11708731342187df760267723c7609a8", + "indexes" : { + "data" : 3, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "194d498eda8247cc0f13bd37c69b1151c4ab3c1e65e8815b9ce1cbdd0c9ee4a1", + "indexes" : { + "data" : 3, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "1e4c40e58408c4916b3c0acc7044049824c50b0bd97091cb33eca52222eea6a7", + "indexes" : { + "data" : 3, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c04067e96a83e2b0c65f81c8a210a2088b45c4cbaa5a15b59f3ca21f1d8ae07", + "indexes" : { + "data" : 3, + "gas" : 3, + "value" : 1 + } + } + ], + "EIP158" : [ + { + "hash" : "d8f4e54b56f537699870c958f97ff83480035abfbd13d3511d418baa5cae7c09", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "b6cc57520d9770d30f2ae303a3011772a6a92d1746b1a4ef6f6894ddefb8b78b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "548ca959f5bc870502e34a6a6588fcc84339f07226557a9b601e580ee434cf7e", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "404c9b96e72d670b118f253994533902cea8e8905cb6a341e12a91c8500b70f7", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "01cb4b1894d236991dd8f624910ac7cd11708731342187df760267723c7609a8", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "194d498eda8247cc0f13bd37c69b1151c4ab3c1e65e8815b9ce1cbdd0c9ee4a1", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "1e4c40e58408c4916b3c0acc7044049824c50b0bd97091cb33eca52222eea6a7", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c04067e96a83e2b0c65f81c8a210a2088b45c4cbaa5a15b59f3ca21f1d8ae07", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "5d50590051ccaf4888d6aaea2e67c3c221418e6d63ac08ccaeb83f8972cef939", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "34b72637b56181f53edcff598845763a878c55eeb2366ba4d1e4f3e6244c9062", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "548ca959f5bc870502e34a6a6588fcc84339f07226557a9b601e580ee434cf7e", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "404c9b96e72d670b118f253994533902cea8e8905cb6a341e12a91c8500b70f7", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "01cb4b1894d236991dd8f624910ac7cd11708731342187df760267723c7609a8", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "194d498eda8247cc0f13bd37c69b1151c4ab3c1e65e8815b9ce1cbdd0c9ee4a1", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "1e4c40e58408c4916b3c0acc7044049824c50b0bd97091cb33eca52222eea6a7", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c04067e96a83e2b0c65f81c8a210a2088b45c4cbaa5a15b59f3ca21f1d8ae07", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "c5a643f1bfb926531f64c8bacaed120944594d9d40bb9623bab4da7b3a223f12", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "e5636003a6a46f677815d577aa34d0327e1ffb059035e6d7bd1c0cde96bbcc68", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "548ca959f5bc870502e34a6a6588fcc84339f07226557a9b601e580ee434cf7e", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "404c9b96e72d670b118f253994533902cea8e8905cb6a341e12a91c8500b70f7", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "01cb4b1894d236991dd8f624910ac7cd11708731342187df760267723c7609a8", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "194d498eda8247cc0f13bd37c69b1151c4ab3c1e65e8815b9ce1cbdd0c9ee4a1", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "1e4c40e58408c4916b3c0acc7044049824c50b0bd97091cb33eca52222eea6a7", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c04067e96a83e2b0c65f81c8a210a2088b45c4cbaa5a15b59f3ca21f1d8ae07", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "1afdbdfbba02f176a74a058ce687039fc418c16426ee072cf820edaa1136a20a", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "4ad3d92aa98e194cb4b7bf8f889adc498f316c5a026fc36e4150b2cfa026a83c", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "548ca959f5bc870502e34a6a6588fcc84339f07226557a9b601e580ee434cf7e", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "404c9b96e72d670b118f253994533902cea8e8905cb6a341e12a91c8500b70f7", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "01cb4b1894d236991dd8f624910ac7cd11708731342187df760267723c7609a8", + "indexes" : { + "data" : 3, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "194d498eda8247cc0f13bd37c69b1151c4ab3c1e65e8815b9ce1cbdd0c9ee4a1", + "indexes" : { + "data" : 3, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "1e4c40e58408c4916b3c0acc7044049824c50b0bd97091cb33eca52222eea6a7", + "indexes" : { + "data" : 3, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c04067e96a83e2b0c65f81c8a210a2088b45c4cbaa5a15b59f3ca21f1d8ae07", + "indexes" : { + "data" : 3, + "gas" : 3, + "value" : 1 + } + } + ], + "Frontier" : [ + { + "hash" : "1e6f2866ebc2ec3bd095dd5d1e0a9003dff8c46d740422e032564e23800e401c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "1092feb631e5d2b0bb2ca83f9f68b54c53717f8ceda091616c67aa01bf2f6715", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "69e43bbf019adedcae45878e4efb53768e49d66b68fa4ed04f0e1e4568ca41a7", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "f6b3cbbd0610954032c6d46f6415ef5bff8742fbee55230fe12211ded4220c3d", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "d82deee3a810865a30ee17dee27244ecc812f3270ae1eb67c40f7aaf80907622", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "1a19c6ab26d1bc1fb3130c16132d82cc6bb770cc7e3f235be283a9c6a574d706", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "d82deee3a810865a30ee17dee27244ecc812f3270ae1eb67c40f7aaf80907622", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "1a19c6ab26d1bc1fb3130c16132d82cc6bb770cc7e3f235be283a9c6a574d706", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 3, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 3, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 3, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 3, + "gas" : 3, + "value" : 1 + } + } + ], + "Homestead" : [ + { + "hash" : "1e6f2866ebc2ec3bd095dd5d1e0a9003dff8c46d740422e032564e23800e401c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "1092feb631e5d2b0bb2ca83f9f68b54c53717f8ceda091616c67aa01bf2f6715", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "69e43bbf019adedcae45878e4efb53768e49d66b68fa4ed04f0e1e4568ca41a7", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "f6b3cbbd0610954032c6d46f6415ef5bff8742fbee55230fe12211ded4220c3d", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "f831c6b1f491ca064a59088ac753fe9b9f6376112b08acd3ee9d7b2dd56ba209", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "5f9dbebae5fe583e47a8e4a2212dca465e4679785618107655e492a9c38f8397", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "06d00ec0437967bfa535b2c7830db5a63042d73368beb07d68d2ed93bc769f03", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "697f6c1e9bc4bcb230fa4a941c977d44e74245e9af445c132d83d9cced610adb", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "936942c98843600eb69cdad1cdeaa3630afb62513e6c0a597a262ade92d5b66a", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 3, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "9ac31168816aa36d6c71895d033daa0b610b199362690f733928dbef23f28820", + "indexes" : { + "data" : 3, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 3, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c80aaff583e56560fcc9ff3b09d33d587e131d23270792f6dc37cc29c3b0f73", + "indexes" : { + "data" : 3, + "gas" : 3, + "value" : 1 + } + } + ], + "Metropolis" : [ + { + "hash" : "349fa19f377350ecaea31dd8486a281546eb070214059f1551d24d4f9cdaa565", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "6117f1c9999903c9289b0c1415c895f0810166df78f60b6297ced2ea76e34651", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "548ca959f5bc870502e34a6a6588fcc84339f07226557a9b601e580ee434cf7e", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "404c9b96e72d670b118f253994533902cea8e8905cb6a341e12a91c8500b70f7", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "349fa19f377350ecaea31dd8486a281546eb070214059f1551d24d4f9cdaa565", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "6117f1c9999903c9289b0c1415c895f0810166df78f60b6297ced2ea76e34651", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "1e4c40e58408c4916b3c0acc7044049824c50b0bd97091cb33eca52222eea6a7", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c04067e96a83e2b0c65f81c8a210a2088b45c4cbaa5a15b59f3ca21f1d8ae07", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "43f18bb29c7d3a5ea26d340fc239438fb05b0644d49db8f1559bddd38ed86cfa", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "94d5c3ff4637fc5d129802b625852d64498497bc1b7ec55a8c16ea01af9f19ad", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "548ca959f5bc870502e34a6a6588fcc84339f07226557a9b601e580ee434cf7e", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "404c9b96e72d670b118f253994533902cea8e8905cb6a341e12a91c8500b70f7", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "43f18bb29c7d3a5ea26d340fc239438fb05b0644d49db8f1559bddd38ed86cfa", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "94d5c3ff4637fc5d129802b625852d64498497bc1b7ec55a8c16ea01af9f19ad", + "indexes" : { + "data" : 1, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "1e4c40e58408c4916b3c0acc7044049824c50b0bd97091cb33eca52222eea6a7", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c04067e96a83e2b0c65f81c8a210a2088b45c4cbaa5a15b59f3ca21f1d8ae07", + "indexes" : { + "data" : 1, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "86ac739c87c10de1e46ac532093e30be8639e0830d859f32b949b13a9e12dc2b", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "b7ec28e0f6f769330401a3213ea9d2e5f6337fce4337ebbad1fd01f8946289c8", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "548ca959f5bc870502e34a6a6588fcc84339f07226557a9b601e580ee434cf7e", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "404c9b96e72d670b118f253994533902cea8e8905cb6a341e12a91c8500b70f7", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "86ac739c87c10de1e46ac532093e30be8639e0830d859f32b949b13a9e12dc2b", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "b7ec28e0f6f769330401a3213ea9d2e5f6337fce4337ebbad1fd01f8946289c8", + "indexes" : { + "data" : 2, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "1e4c40e58408c4916b3c0acc7044049824c50b0bd97091cb33eca52222eea6a7", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c04067e96a83e2b0c65f81c8a210a2088b45c4cbaa5a15b59f3ca21f1d8ae07", + "indexes" : { + "data" : 2, + "gas" : 3, + "value" : 1 + } + }, + { + "hash" : "4ff6ba73eb495fbfdf2a5fc9b13307e541cc9426af96827451cd6fa08528486e", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "7395a1a844d205bf2bc5bf8ff97f597815ccc9f2092c69ef90253682a5b51847", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 1 + } + }, + { + "hash" : "548ca959f5bc870502e34a6a6588fcc84339f07226557a9b601e580ee434cf7e", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "404c9b96e72d670b118f253994533902cea8e8905cb6a341e12a91c8500b70f7", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 1 + } + }, + { + "hash" : "4ff6ba73eb495fbfdf2a5fc9b13307e541cc9426af96827451cd6fa08528486e", + "indexes" : { + "data" : 3, + "gas" : 2, + "value" : 0 + } + }, + { + "hash" : "7395a1a844d205bf2bc5bf8ff97f597815ccc9f2092c69ef90253682a5b51847", + "indexes" : { + "data" : 3, + "gas" : 2, + "value" : 1 + } + }, + { + "hash" : "1e4c40e58408c4916b3c0acc7044049824c50b0bd97091cb33eca52222eea6a7", + "indexes" : { + "data" : 3, + "gas" : 3, + "value" : 0 + } + }, + { + "hash" : "3c04067e96a83e2b0c65f81c8a210a2088b45c4cbaa5a15b59f3ca21f1d8ae07", + "indexes" : { + "data" : 3, + "gas" : 3, + "value" : 1 + } + } + ] + }, + "pre" : { + "a000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073b00000000000000000000000000000000000000061c350f1600a556000600060006000600073c00000000000000000000000000000000000000061c350f1600b556000600060006000600073d00000000000000000000000000000000000000061c350f1600c55600c600455600c600555", + "nonce" : "0x00", + "storage" : { + } + }, + "a100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073b00000000000000000000000000000000000000061c350f2600a556000600060006000600073c00000000000000000000000000000000000000061c350f2600b556000600060006000600073d00000000000000000000000000000000000000061c350f2600c55600c600455600c600555", + "nonce" : "0x00", + "storage" : { + } + }, + "a200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073b00000000000000000000000000000000000000061c350f4600a55600060006000600073c00000000000000000000000000000000000000061c350f4600b55600060006000600073d00000000000000000000000000000000000000061c350f4600c55600c600455600c600555", + "nonce" : "0x00", + "storage" : { + } + }, + "a300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073b00000000000000000000000000000000000000061c350f1600a55600060006000600073c00000000000000000000000000000000000000061c350f4600b556000600060006000600073d00000000000000000000000000000000000000061c350f2600c55600c600455600c600555", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "ac00000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000346000356203f7a0f1", + "nonce" : "0x00", + "storage" : { + } + }, + "b000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600c60015560016000fd", + "nonce" : "0x00", + "storage" : { + } + }, + "c000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600c60025560016000fd", + "nonce" : "0x00", + "storage" : { + } + }, + "d000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600c60035560016000fd", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "000000000000000000000000a000000000000000000000000000000000000000", + "000000000000000000000000a100000000000000000000000000000000000000", + "000000000000000000000000a200000000000000000000000000000000000000", + "000000000000000000000000a300000000000000000000000000000000000000" + ], + "gasLimit" : [ + "800000", + "140000", + "160000", + "50000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "ac00000000000000000000000000000000000000", + "value" : [ + "0", + "10" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stRevertTest/RevertOpcodeReturn.json b/GeneralStateTests/stRevertTest/RevertOpcodeReturn.json new file mode 100644 index 000000000..a11032703 --- /dev/null +++ b/GeneralStateTests/stRevertTest/RevertOpcodeReturn.json @@ -0,0 +1,407 @@ +{ + "RevertOpcodeReturn" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "b8af687cc87c69c2e22b5c56c9a2877a830f561e574814d6b21ebdd708706bc9", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "b8af687cc87c69c2e22b5c56c9a2877a830f561e574814d6b21ebdd708706bc9", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "b8af687cc87c69c2e22b5c56c9a2877a830f561e574814d6b21ebdd708706bc9", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "b8af687cc87c69c2e22b5c56c9a2877a830f561e574814d6b21ebdd708706bc9", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "b8af687cc87c69c2e22b5c56c9a2877a830f561e574814d6b21ebdd708706bc9", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "b8af687cc87c69c2e22b5c56c9a2877a830f561e574814d6b21ebdd708706bc9", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "b8af687cc87c69c2e22b5c56c9a2877a830f561e574814d6b21ebdd708706bc9", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "b8af687cc87c69c2e22b5c56c9a2877a830f561e574814d6b21ebdd708706bc9", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "edd8bf8dc51622ae78bd758dfbcca07bf1d2437be4675d9ce71ca25b0e7d8e79", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "edd8bf8dc51622ae78bd758dfbcca07bf1d2437be4675d9ce71ca25b0e7d8e79", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "edd8bf8dc51622ae78bd758dfbcca07bf1d2437be4675d9ce71ca25b0e7d8e79", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "edd8bf8dc51622ae78bd758dfbcca07bf1d2437be4675d9ce71ca25b0e7d8e79", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "edd8bf8dc51622ae78bd758dfbcca07bf1d2437be4675d9ce71ca25b0e7d8e79", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "edd8bf8dc51622ae78bd758dfbcca07bf1d2437be4675d9ce71ca25b0e7d8e79", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "edd8bf8dc51622ae78bd758dfbcca07bf1d2437be4675d9ce71ca25b0e7d8e79", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "edd8bf8dc51622ae78bd758dfbcca07bf1d2437be4675d9ce71ca25b0e7d8e79", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "80cd7cba864fb7fee9b81732442d387c68da10f76b5b3b5c612fbbcd34b1c67e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "80cd7cba864fb7fee9b81732442d387c68da10f76b5b3b5c612fbbcd34b1c67e", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "49c87cfa106e691a1bc3c4b59a243af7783da31026a4df3214d24d4f8dd88395", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "49c87cfa106e691a1bc3c4b59a243af7783da31026a4df3214d24d4f8dd88395", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "b8af687cc87c69c2e22b5c56c9a2877a830f561e574814d6b21ebdd708706bc9", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0c5bc5f7dfbceb41280a74768c7285b6797c3f0e23be8b5b403c5c6449e5bc25", + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : 0 + } + }, + { + "hash" : "49c87cfa106e691a1bc3c4b59a243af7783da31026a4df3214d24d4f8dd88395", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "49c87cfa106e691a1bc3c4b59a243af7783da31026a4df3214d24d4f8dd88395", + "indexes" : { + "data" : 3, + "gas" : 1, + "value" : 0 + } + } + ] + }, + "pre" : { + "a000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60206000600060006000600035620249f0f1600155600051600255", + "nonce" : "0x00", + "storage" : { + } + }, + "a100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6c726576657274656420646174616000556d726576657274206d65737361676560005260206000fd", + "nonce" : "0x00", + "storage" : { + } + }, + "a200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6c726576657274656420646174616000556d726576657274206d65737361676560005260006000fd", + "nonce" : "0x00", + "storage" : { + } + }, + "a300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6c726576657274656420646174616000556d726576657274206d6573736167656000526e0fffffffffffffffffffffffffffff6000fd", + "nonce" : "0x00", + "storage" : { + } + }, + "a400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6c726576657274656420646174616000556d726576657274206d6573736167656000526000610100fd", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "000000000000000000000000a100000000000000000000000000000000000000", + "000000000000000000000000a200000000000000000000000000000000000000", + "000000000000000000000000a300000000000000000000000000000000000000", + "000000000000000000000000a400000000000000000000000000000000000000" + ], + "gasLimit" : [ + "800000", + "70000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "a000000000000000000000000000000000000000", + "value" : [ + "0" + ] + } + } +}
\ No newline at end of file diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeCallsFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeCallsFiller.json new file mode 100644 index 000000000..bfeaaaf6f --- /dev/null +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeCallsFiller.json @@ -0,0 +1,299 @@ +{ + "RevertOpcodeCalls" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + }, + "094f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x0a" : "0x01" + } + }, + "b0005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x02" : "0x0e" + } + } + } + }, + { + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + }, + "b0005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + }, + "094f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x0a" : "0x01" + } + }, + "b0005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0", + "storage" : { + "0x00" : "0x00", + "0x02" : "0x0e" + } + } + } + }, + { + "comment" : "OOG", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + }, + "b0005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + }, + "094f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x0a" : "0x01" + } + }, + "b1005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0", + "storage" : { + "0x00" : "0x00", + "0x02" : "0x0e" + } + } + } + }, + { + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + }, + "b1005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + }, + "094f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x0a" : "0x01" + } + }, + "b2005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0", + "storage" : { + "0x00" : "0x00", + "0x02" : "0x0e" + } + } + } + }, + { + "indexes" : { + "data" : 2, + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + }, + "b2005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + }, + "094f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x0a" : "0x01" + } + }, + "b3005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0", + "storage" : { + "0x00" : "0x01", + "0x02" : "0x0e" + } + }, + "b3305374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0", + "storage" : { + "0x04" : "0x00", + "0x05" : "0x0e" + } + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "094f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "code" : "{ [[10]] (CALL 260000 (CALLDATALOAD 0) 0 0 0 0 0)}", + "nonce" : "0", + "storage" : { + } + }, + "b0005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "code" : "{ [[0]] (CALL 50000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 0) [[2]] 14 }", + "nonce" : "0", + "storage" : { + } + }, + "b1005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "code" : "{ [[0]] (CALLCODE 50000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 0) [[2]] 14 }", + "nonce" : "0", + "storage" : { + } + }, + "b2005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "code" : "{ [[0]] (DELEGATECALL 50000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0) [[2]] 14 }", + "nonce" : "0", + "storage" : { + } + }, + "b3005374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "code" : "{ [[0]] (CALL 100000 0xb3305374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 0) [[2]] 14 }", + "nonce" : "0", + "storage" : { + } + }, + "b3305374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "code" : "{ [[4]] (CALL 50000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 0) [[5]] 14 }", + "nonce" : "0", + "storage" : { + } + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "code" : "{ [[1]] 12 (REVERT 0 1) [[3]] 13 }", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x000000000000000000000000b0005374fce5edbc8e2a8697c15331677e6ebf0b", + "0x000000000000000000000000b1005374fce5edbc8e2a8697c15331677e6ebf0b", + "0x000000000000000000000000b2005374fce5edbc8e2a8697c15331677e6ebf0b", + "0x000000000000000000000000b3005374fce5edbc8e2a8697c15331677e6ebf0b" + ], + "gasLimit" : [ + "460000", "88000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "094f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeCreateFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeCreateFiller.json new file mode 100644 index 000000000..9e0304078 --- /dev/null +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeCreateFiller.json @@ -0,0 +1,99 @@ +{ + "RevertOpcodeCreate" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "shouldnotexist" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "shouldnotexist" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1", + "storage" : { + "0x00" : "0x0c", + "0x01" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "shouldnotexist" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0" + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "code" : "{ [[0]] 1 (REVERT 0 1) [[1]] 12 }", + "code" : "{ (MSTORE 0 0x600160005560016000fd6011600155 ) [[1]](CREATE 1 17 15) [[0]] 12 }", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x600160005560016000fe6011600155" + ], + "gasLimit" : [ + "460000", "70000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeDirectCallFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeDirectCallFiller.json new file mode 100644 index 000000000..40eaf231c --- /dev/null +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeDirectCallFiller.json @@ -0,0 +1,116 @@ +{ + "RevertOpcodeDirectCall" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "shouldnotexist" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0", + "storage" : { + "0x00" : "0x00", + "0x02" : "0x0e" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + } + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "094f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "code" : "{ [[10]] (CALL 60000 (CALLDATALOAD 0) 0 0 0 0 0)}", + "nonce" : "0", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "code" : "!!! STRANGE: CALL works, but if called from 094... it wont work. even if gas is enough. seems to be OOG.", + "code" : "{ [[0]] (CALL 50000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 0) [[2]] 14 }", + "nonce" : "0", + "storage" : { + } + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "code" : "{ [[1]] 12 (REVERT 0 1) [[3]] 13 }", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x000000000000000000000000b94f5374fce5edbc8e2a8697c15331677e6ebf0b" + ], + "gasLimit" : [ + "460000", "68000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeFiller.json new file mode 100644 index 000000000..be1a3146a --- /dev/null +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeFiller.json @@ -0,0 +1,103 @@ +{ + "RevertOpcode" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "a000000000000000000000000000000000000000" : { + "balance" : "0", + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999958985", + "nonce" : "1" + }, + "a000000000000000000000000000000000000000" : { + "balance" : "0", + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999970000", + "nonce" : "1" + }, + "a000000000000000000000000000000000000000" : { + "balance" : "0", + "storage" : { + } + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "a000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ [[0]] 1 (REVERT 0 1) [[1]] 11 }", + "code" : "0x600160005560016000fd6011600155", + "nonce" : "", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "800000", "30000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "a000000000000000000000000000000000000000", + "value" : [ + "0", "10" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeInInitFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeInInitFiller.json new file mode 100644 index 000000000..8aa10605c --- /dev/null +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeInInitFiller.json @@ -0,0 +1,120 @@ +{ + "RevertOpcodeInInit" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP158", "EIP150"], + "result" : { + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "shouldnotexist" : "1" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : ["Frontier"], + "result" : { + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "shouldnotexist" : "1" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : ["Homestead", "EIP158", "EIP150"], + "result" : { + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "shouldnotexist" : "1" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "shouldnotexist" : "1" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "shouldnotexist" : "1" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0" + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : "{ [[0]] 1 (REVERT 0 1) [[1]] 12 }", + "data" : [ + "0x600160005560016000fd6011600155" + ], + "gasLimit" : [ + "160000", "40000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0", "10" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeMultipleSubCallsFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeMultipleSubCallsFiller.json new file mode 100644 index 000000000..0b40433ed --- /dev/null +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeMultipleSubCallsFiller.json @@ -0,0 +1,412 @@ +{ + "RevertOpcodeMultipleSubCalls" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x04" : "0x0c", + "0x05" : "0x0c" + } + } + } + }, + { + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "a000000000000000000000000000000000000000" : { + "nonce" : "0x00", + "storage" : { + "0x04" : "0x0c", + "0x05" : "0x0c", + "0x0a" : "0x00", + "0x0b" : "0x00", + "0x0c" : "0x00" + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + }, + "c000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + }, + "d000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "a100000000000000000000000000000000000000" : { + "nonce" : "0x00", + "storage" : { + "0x04" : "0x0c", + "0x05" : "0x0c", + "0x0a" : "0x00", + "0x0b" : "0x00", + "0x0c" : "0x00" + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + }, + "c000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + }, + "d000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "a200000000000000000000000000000000000000" : { + "nonce" : "0x00", + "storage" : { + "0x04" : "0x0c", + "0x05" : "0x0c", + "0x0a" : "0x00", + "0x0b" : "0x00", + "0x0c" : "0x00" + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + }, + "c000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + }, + "d000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "a300000000000000000000000000000000000000" : { + "nonce" : "0x00", + "storage" : { + "0x04" : "0x0c", + "0x05" : "0x0c", + "0x0a" : "0x00", + "0x0b" : "0x00", + "0x0c" : "0x00" + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + }, + "c000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + }, + "d000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : 0, + "gas" : [2], + "value" : [1,0] + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "a000000000000000000000000000000000000000" : { + "nonce" : "0x00", + "storage" : { + "0x04" : "0x0c", + "0x05" : "0x0c", + "0x0a" : "0x00", + "0x0b" : "0x00", + "0x0c" : "0x00" + } + }, + "a100000000000000000000000000000000000000" : { + "nonce" : "0x00", + "storage" : { + } + }, + "a200000000000000000000000000000000000000" : { + "nonce" : "0x00", + "storage" : { + } + }, + "a300000000000000000000000000000000000000" : { + "nonce" : "0x00", + "storage" : { + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + }, + "c000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + }, + "d000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [1], + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "a000000000000000000000000000000000000000" : { + "nonce" : "0x00", + "storage" : { + "0x04" : "0x00", + "0x05" : "0x00", + "0x0a" : "0x00", + "0x0b" : "0x00", + "0x0c" : "0x00" + } + }, + "a100000000000000000000000000000000000000" : { + "nonce" : "0x00", + "storage" : { + } + }, + "a200000000000000000000000000000000000000" : { + "nonce" : "0x00", + "storage" : { + } + }, + "a300000000000000000000000000000000000000" : { + "nonce" : "0x00", + "storage" : { + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + }, + "c000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + }, + "d000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00", + "0x03" : "0x00" + } + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "ac00000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ (CALL 260000 (CALLDATALOAD 0) (CALLVALUE) 0 0 0 0) }", + "nonce" : "0", + "storage" : {} + }, + "a000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "simple calls", + "code" : "call -> callA-> revert | callB -> revert | some code * and OOG scenarious", + "code" : "{ [[10]](CALL 50000 0xb000000000000000000000000000000000000000 0 0 0 0 0) [[11]](CALL 50000 0xc000000000000000000000000000000000000000 0 0 0 0 0) [[12]](CALL 50000 0xd000000000000000000000000000000000000000 0 0 0 0 0) [[4]]12 [[5]]12 }", + "nonce" : "", + "storage" : { + } + }, + "a100000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ [[10]](CALLCODE 50000 0xb000000000000000000000000000000000000000 0 0 0 0 0) [[11]](CALLCODE 50000 0xc000000000000000000000000000000000000000 0 0 0 0 0) [[12]](CALLCODE 50000 0xd000000000000000000000000000000000000000 0 0 0 0 0) [[4]]12 [[5]]12 }", + "nonce" : "", + "storage" : { + } + }, + "a200000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ [[10]](DELEGATECALL 50000 0xb000000000000000000000000000000000000000 0 0 0 0) [[11]](DELEGATECALL 50000 0xc000000000000000000000000000000000000000 0 0 0 0) [[12]](DELEGATECALL 50000 0xd000000000000000000000000000000000000000 0 0 0 0) [[4]]12 [[5]]12 }", + "nonce" : "", + "storage" : { + } + }, + "a300000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ [[10]](CALL 50000 0xb000000000000000000000000000000000000000 0 0 0 0 0) [[11]](DELEGATECALL 50000 0xc000000000000000000000000000000000000000 0 0 0 0) [[12]](CALLCODE 50000 0xd000000000000000000000000000000000000000 0 0 0 0 0) [[4]]12 [[5]]12 }", + "nonce" : "", + "storage" : { + } + }, + "b000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ [[1]] 12 (REVERT 0 1) }", + "nonce" : "", + "storage" : { + } + }, + "c000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ [[2]] 12 (REVERT 0 1) }", + "nonce" : "", + "storage" : { + } + }, + "d000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ [[3]] 12 (REVERT 0 1) }", + "nonce" : "", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "000000000000000000000000a000000000000000000000000000000000000000", + "000000000000000000000000a100000000000000000000000000000000000000", + "000000000000000000000000a200000000000000000000000000000000000000", + "000000000000000000000000a300000000000000000000000000000000000000" + ], + "gasLimit" : [ + "800000", "140000", "160000", "50000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "ac00000000000000000000000000000000000000", + "value" : [ + "0", "10" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeReturnFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeReturnFiller.json new file mode 100644 index 000000000..dd57096f0 --- /dev/null +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeReturnFiller.json @@ -0,0 +1,164 @@ +{ + "RevertOpcodeReturn" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "a000000000000000000000000000000000000000" : { + "balance" : "0", + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x726576657274206d657373616765" + } + }, + "a100000000000000000000000000000000000000" : { + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : [1,3], + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00" + } + }, + "a100000000000000000000000000000000000000" : { + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : [2], + "gas" : 0, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00" + } + }, + "a100000000000000000000000000000000000000" : { + "storage" : { + } + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "a000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ [[1]](CALL 150000 (CALLDATALOAD 0) 0 0 0 0 32) [[2]] (MLOAD 0) }", + "nonce" : "", + "storage" : { + } + }, + "a100000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ (SSTORE 0 0x72657665727465642064617461) (MSTORE 0 0x726576657274206d657373616765) (REVERT 0 32) }", + "nonce" : "0", + "storage" : { + } + }, + "a200000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ (SSTORE 0 0x72657665727465642064617461) (MSTORE 0 0x726576657274206d657373616765) (REVERT 0 0) }", + "nonce" : "0", + "storage" : { + } + }, + "a300000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ (SSTORE 0 0x72657665727465642064617461) (MSTORE 0 0x726576657274206d657373616765) (REVERT 0 0xfffffffffffffffffffffffffffff) }", + "nonce" : "0", + "storage" : { + } + }, + "a400000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "{ (SSTORE 0 0x72657665727465642064617461) (MSTORE 0 0x726576657274206d657373616765) (REVERT 0x100 0x00) }", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "000000000000000000000000a100000000000000000000000000000000000000", + "000000000000000000000000a200000000000000000000000000000000000000", + "000000000000000000000000a300000000000000000000000000000000000000", + "000000000000000000000000a400000000000000000000000000000000000000" + ], + "gasLimit" : [ + "800000", "70000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "a000000000000000000000000000000000000000", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stRevertTest/TouchToEmptyAccountRevert3Filler.json b/src/GeneralStateTestsFiller/stRevertTest/TouchToEmptyAccountRevert3Filler.json index 5bbf12567..c7402caf3 100644 --- a/src/GeneralStateTestsFiller/stRevertTest/TouchToEmptyAccountRevert3Filler.json +++ b/src/GeneralStateTestsFiller/stRevertTest/TouchToEmptyAccountRevert3Filler.json @@ -60,14 +60,14 @@ "d94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0", "nonce" : "0", - "code" : "{ (SUICIDE 0x1000000000000000000000000000000000000000) }", + "code" : "{ (SELFDESTRUCT 0x1000000000000000000000000000000000000000) }", "storage": { } }, "e94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0", "nonce" : "0", - "code" : "{ (SUICIDE 0x1000000000000000000000000000000000000000) }", + "code" : "{ (SELFDESTRUCT 0x1000000000000000000000000000000000000000) }", "storage": { } } |