aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stCreate2
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-09-08 01:11:24 +0800
committerDimitry <dimitry@ethereum.org>2018-09-08 01:11:24 +0800
commite740a725a28bf7714abd0c400439f060fdd1e873 (patch)
tree019cc759befaf52924752ee513348ac3b8200442 /GeneralStateTests/stCreate2
parentb87bd584634fd4061d54f7d8dd527d0eb43885e0 (diff)
downloaddexon-tests-e740a725a28bf7714abd0c400439f060fdd1e873.tar
dexon-tests-e740a725a28bf7714abd0c400439f060fdd1e873.tar.gz
dexon-tests-e740a725a28bf7714abd0c400439f060fdd1e873.tar.bz2
dexon-tests-e740a725a28bf7714abd0c400439f060fdd1e873.tar.lz
dexon-tests-e740a725a28bf7714abd0c400439f060fdd1e873.tar.xz
dexon-tests-e740a725a28bf7714abd0c400439f060fdd1e873.tar.zst
dexon-tests-e740a725a28bf7714abd0c400439f060fdd1e873.zip
create2 check fields in init code
Diffstat (limited to 'GeneralStateTests/stCreate2')
-rw-r--r--GeneralStateTests/stCreate2/create2checkFieldsInInitcode.json135
1 files changed, 135 insertions, 0 deletions
diff --git a/GeneralStateTests/stCreate2/create2checkFieldsInInitcode.json b/GeneralStateTests/stCreate2/create2checkFieldsInInitcode.json
new file mode 100644
index 000000000..76ce9e1c4
--- /dev/null
+++ b/GeneralStateTests/stCreate2/create2checkFieldsInInitcode.json
@@ -0,0 +1,135 @@
+{
+ "create2checkFieldsInInitcode" : {
+ "_info" : {
+ "comment" : "Check opcode values in create2 init code. Create2 called with different call types.",
+ "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty",
+ "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stCreate2/create2checkFieldsInInitcodeFiller.json",
+ "sourceHash" : "bc38edef74ef85ca01dac7fe45a10fc28155f1acd397ca22bf904130ca76c8f8"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x521f66fd73b644de582060b3c1fd36fc607361b0508a856c7b274527e8d06eed",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x7b07cf50029a0ea414ddc08cf264769cf46e8f15cd92fd97df810d2cfda8933a",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc1efa57d4edb575dc41c069603a6e66d7896ec9151e749322ec0b6729db54d65",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xde24fb3f9883c69c4ce5ac7d7f6e32c23f55b959cf1c00be6cd7e59ff4420b2d",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x1000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x2000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x3000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x4000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600060006000355af1",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xf000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xf200000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x0000000000000000000000001000000000000000000000000000000000000000",
+ "0x0000000000000000000000002000000000000000000000000000000000000000",
+ "0x0000000000000000000000003000000000000000000000000000000000000000",
+ "0x0000000000000000000000004000000000000000000000000000000000000000"
+ ],
+ "gasLimit" : [
+ "0x0927c0"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : [
+ "0x00"
+ ]
+ }
+ }
+} \ No newline at end of file