aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stExtCodeHash/extCodeHashSTATICCALL.json
diff options
context:
space:
mode:
authorwinsvega <winsvega@mail.ru>2018-11-09 20:05:55 +0800
committerGitHub <noreply@github.com>2018-11-09 20:05:55 +0800
commit080c4193798e771c13b95d0dadca616cd8298a49 (patch)
tree1c26f37b579e201b866e75ef12e7af1b15a21541 /GeneralStateTests/stExtCodeHash/extCodeHashSTATICCALL.json
parent8f995ca96934fed13f17a7d84d95c1bcadab77b7 (diff)
parent54982e9003c0ba941e105f06636c2c0a0bc72a62 (diff)
downloaddexon-tests-080c4193798e771c13b95d0dadca616cd8298a49.tar.gz
dexon-tests-080c4193798e771c13b95d0dadca616cd8298a49.tar.zst
dexon-tests-080c4193798e771c13b95d0dadca616cd8298a49.zip
Merge pull request #484 from ethereum/extcodehash
Add initial test cases for EXTCODEHASH
Diffstat (limited to 'GeneralStateTests/stExtCodeHash/extCodeHashSTATICCALL.json')
-rw-r--r--GeneralStateTests/stExtCodeHash/extCodeHashSTATICCALL.json142
1 files changed, 142 insertions, 0 deletions
diff --git a/GeneralStateTests/stExtCodeHash/extCodeHashSTATICCALL.json b/GeneralStateTests/stExtCodeHash/extCodeHashSTATICCALL.json
new file mode 100644
index 000000000..0ff1d5702
--- /dev/null
+++ b/GeneralStateTests/stExtCodeHash/extCodeHashSTATICCALL.json
@@ -0,0 +1,142 @@
+{
+ "extCodeHashSTATICCALL" : {
+ "_info" : {
+ "comment" : "EXTCODEHASH of an account during a STATICCALL",
+ "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/extCodeHashSTATICCALLFiller.json",
+ "sourceHash" : "c371634d88f9eb9af0ecc642f7692487a9bf49d03bd2bc37baa44812532edc52"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Byzantium" : [
+ {
+ "hash" : "0xdb2ba4be690f0434beb4788621c6724430409eb407498830f49071242320ed4e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Constantinople" : [
+ {
+ "hash" : "0x1eb48653f164467675b5dc0c65a39841ce54b92c48be0566448fa1023dff1c90",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP150" : [
+ {
+ "hash" : "0xdb2ba4be690f0434beb4788621c6724430409eb407498830f49071242320ed4e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0xdb2ba4be690f0434beb4788621c6724430409eb407498830f49071242320ed4e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0xdb2ba4be690f0434beb4788621c6724430409eb407498830f49071242320ed4e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0xdb2ba4be690f0434beb4788621c6724430409eb407498830f49071242320ed4e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x602060006000600073deadbeef00000000000000000000000000000000620249f0fa506020600060003e600051600055602060006000600073aeadbeef00000000000000000000000000000000620249f0fa506020600060003e600051600155",
+ "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