aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stDelegatecallTestHomestead/delegatecodeDynamicCode.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/stDelegatecallTestHomestead/delegatecodeDynamicCode.json
parentf71c2688e1a839f8429f7e94ec5e56bb182d82cf (diff)
downloaddexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.gz
dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.zst
dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.zip
update general tests
Diffstat (limited to 'GeneralStateTests/stDelegatecallTestHomestead/delegatecodeDynamicCode.json')
-rw-r--r--GeneralStateTests/stDelegatecallTestHomestead/delegatecodeDynamicCode.json178
1 files changed, 72 insertions, 106 deletions
diff --git a/GeneralStateTests/stDelegatecallTestHomestead/delegatecodeDynamicCode.json b/GeneralStateTests/stDelegatecallTestHomestead/delegatecodeDynamicCode.json
index adc6aed96..cb38977f5 100644
--- a/GeneralStateTests/stDelegatecallTestHomestead/delegatecodeDynamicCode.json
+++ b/GeneralStateTests/stDelegatecallTestHomestead/delegatecodeDynamicCode.json
@@ -6,121 +6,87 @@
"source" : "/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/delegatecodeDynamicCodeFiller.json"
},
"env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
- "currentGasLimit" : "1000000",
- "currentNumber" : "1",
- "currentTimestamp" : "1000",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "expect" : [
- {
- "indexes" : {
- "data" : -1,
- "gas" : -1,
- "value" : -1
- },
- "network" : [
- "Frontier"
- ],
- "result" : {
- "0xffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6" : {
- "shouldnotexist" : "1"
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "0x34616e4bebbecdb2ee6df873d01dc9cae9c8df6ada0f82a771bdbb263a45fabd",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "13136008b64ff592819b2fa6d43f2835c452020e" : {
- "shouldnotexist" : "1"
- }
+ "logs" : [
+ ]
}
- },
- {
- "indexes" : {
- "data" : -1,
- "gas" : -1,
- "value" : -1
- },
- "network" : [
- "Homestead"
- ],
- "result" : {
- "0xffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6" : {
- "balance" : "0x01"
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0xd43ad6ed360b96eed203341e247d9b966de5023edeea7f56faeeca0599c19dee",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "13136008b64ff592819b2fa6d43f2835c452020e" : {
- "balance" : "0x00",
- "storage" : {
- "0x00" : "0x01",
- "0x0a" : "0xffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6",
- "0x0b" : "0x01",
- "0x14" : "0x1000000000000000000000000000000000000000"
- }
- }
+ "logs" : [
+ ]
}
- },
- {
- "indexes" : {
- "data" : -1,
- "gas" : -1,
- "value" : -1
- },
- "network" : [
- "EIP158"
- ],
- "result" : {
- "0xffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6" : {
- "shouldnotexist" : "1"
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0x2c22ecfb190e74da4016ed037b12bc3c03567d4d0c0dbd1072a0f328dbd133ed",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "13136008b64ff592819b2fa6d43f2835c452020e" : {
- "balance" : "0x00",
- "storage" : {
- "0x00" : "0x00",
- "0x0a" : "0x568a95f77b047bece6aa68843d2019332c46a585",
- "0x0b" : "0x01",
- "0x14" : "0x00"
- }
- }
+ "logs" : [
+ ]
}
- },
- {
- "indexes" : {
- "data" : -1,
- "gas" : -1,
- "value" : -1
- },
- "network" : [
- "EIP150"
- ],
- "result" : {
- "0xffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6" : {
- "balance" : "0x01",
- "code" : "0x600160005533601455",
- "nonce" : "0x00",
- "storage" : {
- }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0xc1fec9297af842876aa7b3fdc2fc0ba3cd149ce001258d23dcfe76480b8af925",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "13136008b64ff592819b2fa6d43f2835c452020e" : {
- "balance" : "0x00",
- "storage" : {
- "0x00" : "0x01",
- "0x0a" : "0xffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6",
- "0x0b" : "0x01",
- "0x14" : "0x1000000000000000000000000000000000000000"
- }
- }
+ "logs" : [
+ ]
}
- }
- ],
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0xd43ad6ed360b96eed203341e247d9b966de5023edeea7f56faeeca0599c19dee",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ]
+ },
"pre" : {
- "1000000000000000000000000000000000000000" : {
- "balance" : "10000",
- "code" : "{ (MSTORE 0 0x716860016000553360145560005260096017f36000526012600e6001f0600a55) (MSTORE 32 0x604060006040600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b6620186) (MSTORE 64 0xa0f4600b55000000000000000000000000000000000000000000000000000000) (CREATE 1 0 96) }",
- "nonce" : "0",
+ "0x1000000000000000000000000000000000000000" : {
+ "balance" : "0x2710",
+ "code" : "0x7f716860016000553360145560005260096017f36000526012600e6001f0600a556000527f604060006040600073ffe4ebd2a68c02d9dcb0a17283d13346beb2d8b66201866020527fa0f4600b55000000000000000000000000000000000000000000000000000000604052606060006001f0",
+ "nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "10000000000000000",
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x2386f26fc10000",
"code" : "",
- "nonce" : "0",
+ "nonce" : "0x00",
"storage" : {
}
}
@@ -130,14 +96,14 @@
""
],
"gasLimit" : [
- "453081"
+ "0x06e9d9"
],
- "gasPrice" : "1",
- "nonce" : "0",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "1000000000000000000000000000000000000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1000000000000000000000000000000000000000",
"value" : [
- ""
+ "0x00"
]
}
}