diff options
Merge pull request #484 from ethereum/extcodehash
Add initial test cases for EXTCODEHASH
Diffstat (limited to 'GeneralStateTests/stExtCodeHash/extCodeHashCALLCODE.json')
-rw-r--r-- | GeneralStateTests/stExtCodeHash/extCodeHashCALLCODE.json | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/GeneralStateTests/stExtCodeHash/extCodeHashCALLCODE.json b/GeneralStateTests/stExtCodeHash/extCodeHashCALLCODE.json new file mode 100644 index 000000000..94113e160 --- /dev/null +++ b/GeneralStateTests/stExtCodeHash/extCodeHashCALLCODE.json @@ -0,0 +1,142 @@ +{ + "extCodeHashCALLCODE" : { + "_info" : { + "comment" : "EXTCODEHASH of an account during a CALLCODE", + "filledwith" : "testeth 1.5.0-alpha.5-6+commit.b4667e42", + "lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashCALLCODEFiller.json", + "sourceHash" : "853a83e6ebc24d72cd6888e3bd56b207ed3252c68163ca5c5174f12799e67895" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0x5b8fbef82695e552f9f7bb01d3315d6a8b543786d515eceaabe1c351d0c9e7b8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Constantinople" : [ + { + "hash" : "0x4511baaad12c5d0e9ca27ccdc7a962f9544e18688141d3f850e553498909ddf2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0x5b8fbef82695e552f9f7bb01d3315d6a8b543786d515eceaabe1c351d0c9e7b8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0x5b8fbef82695e552f9f7bb01d3315d6a8b543786d515eceaabe1c351d0c9e7b8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0x5b8fbef82695e552f9f7bb01d3315d6a8b543786d515eceaabe1c351d0c9e7b8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0x5b8fbef82695e552f9f7bb01d3315d6a8b543786d515eceaabe1c351d0c9e7b8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x6020600060006000600073deadbeef00000000000000000000000000000000620249f0f2506020600060003e6000516000556020600060006000600073aeadbeef00000000000000000000000000000000620249f0f2506020600060003e600051600155", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xdeadbeef" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaeadbeef00000000000000000000000000000000" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x73deadbeef000000000000000000000000000000013b60005260206000f3", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xdeadbeef" + } + }, + "0xdeadbeef00000000000000000000000000000000" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x73deadbeef000000000000000000000000000000013f60005260206000f3", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xdeadbeef" + } + }, + "0xdeadbeef00000000000000000000000000000001" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x1234", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x061a80" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : [ + "0x01" + ] + } + } +}
\ No newline at end of file |