aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stStaticCall/static_CallContractToCreateContractOOG.json
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-08-01 16:04:30 +0800
committerDimitry <winsvega@mail.ru>2017-08-01 16:04:30 +0800
commit78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43 (patch)
treec3d6bf604954c6fbd3f0416d972ca922dda331c3 /GeneralStateTests/stStaticCall/static_CallContractToCreateContractOOG.json
parentf71c2688e1a839f8429f7e94ec5e56bb182d82cf (diff)
downloaddexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.gz
dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.zst
dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.zip
update general tests
Diffstat (limited to 'GeneralStateTests/stStaticCall/static_CallContractToCreateContractOOG.json')
-rw-r--r--GeneralStateTests/stStaticCall/static_CallContractToCreateContractOOG.json168
1 files changed, 128 insertions, 40 deletions
diff --git a/GeneralStateTests/stStaticCall/static_CallContractToCreateContractOOG.json b/GeneralStateTests/stStaticCall/static_CallContractToCreateContractOOG.json
index e994acf53..90a880822 100644
--- a/GeneralStateTests/stStaticCall/static_CallContractToCreateContractOOG.json
+++ b/GeneralStateTests/stStaticCall/static_CallContractToCreateContractOOG.json
@@ -6,49 +6,137 @@
"source" : "/src/GeneralStateTestsFiller/stStaticCall/static_CallContractToCreateContractOOGFiller.json"
},
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
- "currentGasLimit" : "100000000",
- "currentNumber" : "1",
- "currentTimestamp" : "1000",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "currentGasLimit" : "0x05f5e100",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "expect" : [
- {
- "indexes" : {
- "data" : -1,
- "gas" : -1,
- "value" : 0
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "0xe6d3e2bfd117cbb4f3e5efb274c2225866fd57d479aec8087c968c01b107a13e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
},
- "network" : [
- "Metropolis"
- ],
- "result" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "nonce" : "0",
- "storage" : {
- "0x00" : "0x00"
- }
+ {
+ "hash" : "0xe6d3e2bfd117cbb4f3e5efb274c2225866fd57d479aec8087c968c01b107a13e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 1
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "nonce" : "1"
- }
+ "logs" : [
+ ]
}
- }
- ],
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0xe6d3e2bfd117cbb4f3e5efb274c2225866fd57d479aec8087c968c01b107a13e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0xe6d3e2bfd117cbb4f3e5efb274c2225866fd57d479aec8087c968c01b107a13e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 1
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0xe6d3e2bfd117cbb4f3e5efb274c2225866fd57d479aec8087c968c01b107a13e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0xe6d3e2bfd117cbb4f3e5efb274c2225866fd57d479aec8087c968c01b107a13e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 1
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0xe6d3e2bfd117cbb4f3e5efb274c2225866fd57d479aec8087c968c01b107a13e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0xe6d3e2bfd117cbb4f3e5efb274c2225866fd57d479aec8087c968c01b107a13e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 1
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0x2c79134a97727093a4682fbc2e9204c3fb28e2e3903d9c4f841928fee064e9b9",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0xc84a0708c5f3ddc2f1dd5b9320bd8a3efffb56263427c8a10bb4622caac36f42",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 1
+ },
+ "logs" : [
+ ]
+ }
+ ]
+ },
"pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "//" : "{[[0]] 12 (MSTORE 32 0x602060406000f0)(RETURN 57 7)}",
- "balance" : "0",
- "code" : "{(MSTORE 0 0x600c60005566602060406000f060205260076039f3) [[0]](CREATE 1 11 21) (STATICCALL 0 (SLOAD 0) 0 0 0 0)}",
- "nonce" : "0",
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x00",
+ "code" : "0x74600c60005566602060406000f060205260076039f36000526015600b6001f060005560006000600060006000546000fa",
+ "nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "100000000",
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x05f5e100",
"code" : "",
- "nonce" : "0",
+ "nonce" : "0x00",
"storage" : {
}
}
@@ -58,15 +146,15 @@
"0x00"
],
"gasLimit" : [
- "20000000"
+ "0x01312d00"
],
- "gasPrice" : "1",
- "nonce" : "0",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : [
- "0",
- "1"
+ "0x00",
+ "0x01"
]
}
}