aboutsummaryrefslogtreecommitdiffstats
path: root/src/BlockchainTestsFiller/GeneralStateTests
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-02-01 03:48:47 +0800
committerDimitry <dimitry@ethereum.org>2018-02-01 03:48:47 +0800
commiteaf8b5e88efc9d4fa2985e4386b71089f7fdd514 (patch)
tree470acca04824ebfa6c2ec372b5c80ea02a5b836b /src/BlockchainTestsFiller/GeneralStateTests
parentb74ebadf1419029e3129d89b0788aeefd6029a89 (diff)
downloaddexon-tests-eaf8b5e88efc9d4fa2985e4386b71089f7fdd514.tar
dexon-tests-eaf8b5e88efc9d4fa2985e4386b71089f7fdd514.tar.gz
dexon-tests-eaf8b5e88efc9d4fa2985e4386b71089f7fdd514.tar.bz2
dexon-tests-eaf8b5e88efc9d4fa2985e4386b71089f7fdd514.tar.lz
dexon-tests-eaf8b5e88efc9d4fa2985e4386b71089f7fdd514.tar.xz
dexon-tests-eaf8b5e88efc9d4fa2985e4386b71089f7fdd514.tar.zst
dexon-tests-eaf8b5e88efc9d4fa2985e4386b71089f7fdd514.zip
update stInitCode test fillers
Diffstat (limited to 'src/BlockchainTestsFiller/GeneralStateTests')
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stExample/add11_d0g0v0Filler.json160
1 files changed, 159 insertions, 1 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stExample/add11_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stExample/add11_d0g0v0Filler.json
index 8fafc6603..539c0b5ae 100644
--- a/src/BlockchainTestsFiller/GeneralStateTests/stExample/add11_d0g0v0Filler.json
+++ b/src/BlockchainTestsFiller/GeneralStateTests/stExample/add11_d0g0v0Filler.json
@@ -10,7 +10,7 @@
},
"transactions" : [
{
- "data" : "",
+ "data" : "0x",
"gasLimit" : "0x061a80",
"gasPrice" : "0x01",
"nonce" : "0x00",
@@ -25,6 +25,164 @@
]
}
],
+ "expect" : [
+ {
+ "network" : "Frontier",
+ "result" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a76586a0",
+ "code" : "0x6001600101600055",
+ "storage" : {
+ "0x00" : "0x02"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x4563918244f4a034",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a761d92c",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "network" : "Homestead",
+ "result" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a76586a0",
+ "code" : "0x6001600101600055",
+ "storage" : {
+ "0x00" : "0x02"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x4563918244f4a034",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a761d92c",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "network" : "EIP150",
+ "result" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a76586a0",
+ "code" : "0x6001600101600055",
+ "storage" : {
+ "0x00" : "0x02"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x4563918244f4a034",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a761d92c",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "network" : "EIP158",
+ "result" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a76586a0",
+ "code" : "0x6001600101600055",
+ "storage" : {
+ "0x00" : "0x02"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x4563918244f4a034",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a761d92c",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "network" : "Byzantium",
+ "result" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a76586a0",
+ "code" : "0x6001600101600055",
+ "storage" : {
+ "0x00" : "0x02"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x29a2241af62ca034",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a761d92c",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "network" : "Constantinople",
+ "result" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a76586a0",
+ "code" : "0x6001600101600055",
+ "storage" : {
+ "0x00" : "0x02"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x29a2241af62ca034",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a761d92c",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ }
+ ],
"genesisBlockHeader" : {
"bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",