aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stStaticCall/static_Call50000_sha256.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_Call50000_sha256.json
parentf71c2688e1a839f8429f7e94ec5e56bb182d82cf (diff)
downloaddexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar
dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.gz
dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.bz2
dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.lz
dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.xz
dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.zst
dexon-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.zip
update general tests
Diffstat (limited to 'GeneralStateTests/stStaticCall/static_Call50000_sha256.json')
-rw-r--r--GeneralStateTests/stStaticCall/static_Call50000_sha256.json230
1 files changed, 126 insertions, 104 deletions
diff --git a/GeneralStateTests/stStaticCall/static_Call50000_sha256.json b/GeneralStateTests/stStaticCall/static_Call50000_sha256.json
index 3c0752cdd..2151b255f 100644
--- a/GeneralStateTests/stStaticCall/static_Call50000_sha256.json
+++ b/GeneralStateTests/stStaticCall/static_Call50000_sha256.json
@@ -6,129 +6,151 @@
"source" : "/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_sha256Filler.json"
},
"env" : {
- "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x020000",
- "currentGasLimit" : "3925000000",
- "currentNumber" : "1",
- "currentTimestamp" : "1000",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "currentGasLimit" : "0xe9f2bf40",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "expect" : [
- {
- "indexes" : {
- "data" : 0,
- "gas" : -1,
- "value" : -1
- },
- "network" : [
- "Metropolis"
- ],
- "result" : {
- "0000000000000000000000000000000000000002" : {
- "shouldnotexist" : "1"
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "0x567dfc141047675ba9203a79fa7b198e2d596c57c3be2f57b06350c79d170196",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "1000000000000000000000000000000000000000" : {
- "storage" : {
- "0x00" : "0x01",
- "0x01" : "0xa0a4cfd2"
- }
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0x567dfc141047675ba9203a79fa7b198e2d596c57c3be2f57b06350c79d170196",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "340282366920938463463374607430538347108",
- "code" : "0x",
- "nonce" : "0x01",
- "storage" : {
- }
+ "logs" : [
+ ]
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0x567dfc141047675ba9203a79fa7b198e2d596c57c3be2f57b06350c79d170196",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "1229864337",
- "code" : "0x",
- "nonce" : "0x00",
- "storage" : {
- }
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0x567dfc141047675ba9203a79fa7b198e2d596c57c3be2f57b06350c79d170196",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
},
- "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "4503599627370505",
- "code" : "0x5b61c3506080511015602b576000600061c3506000600262013178fa6000556001608051016080526000565b608051600155",
- "nonce" : "0x00",
- "storage" : {
- "0x00" : "0x01",
- "0x01" : "0xc350"
- }
- }
+ "logs" : [
+ ]
}
- },
- {
- "indexes" : {
- "data" : 1,
- "gas" : -1,
- "value" : -1
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0x7b8fc9c5eca2d59970b573bbc1f8afbf53fc7af82823d86eee6f07cf071ed9ed",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
},
- "network" : [
- "Metropolis"
- ],
- "result" : {
- "0000000000000000000000000000000000000002" : {
- "shouldnotexist" : "1"
+ {
+ "hash" : "0x7b8fc9c5eca2d59970b573bbc1f8afbf53fc7af82823d86eee6f07cf071ed9ed",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0x7b8fc9c5eca2d59970b573bbc1f8afbf53fc7af82823d86eee6f07cf071ed9ed",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "1000000000000000000000000000000000000000" : {
- "storage" : {
- "0x00" : "0x01",
- "0x01" : "0xaf89c117"
- }
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0x7b8fc9c5eca2d59970b573bbc1f8afbf53fc7af82823d86eee6f07cf071ed9ed",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "340282366920938463463374607430788232105",
- "code" : "0x",
- "nonce" : "0x01",
- "storage" : {
- }
+ "logs" : [
+ ]
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0xaf00fbc3ebd221608c528fe17d937e0fe5d2ba954bfc81e5e13167b21aeaa27d",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "979979340",
- "code" : "0x",
- "nonce" : "0x00",
- "storage" : {
- }
+ "logs" : [
+ ]
+ },
+ {
+ "hash" : "0x8952830477bfcf66f7fdf134884f209728e591666336e55700f994e76b5b3b16",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
},
- "cccf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "4503599627370505",
- "code" : "0x5b61c3506080511015602b576000600061c3506000600262013178fa6000526001608051016080526000565b608051602052",
- "nonce" : "0x00",
- "storage" : {
- "0x00" : "0x00",
- "0x01" : "0x00"
- }
- }
+ "logs" : [
+ ]
}
- }
- ],
+ ]
+ },
"pre" : {
- "1000000000000000000000000000000000000000" : {
- "balance" : "0",
- "code" : "{ [[ 0 ]] (CALL (GAS) (CALLDATALOAD 0) (CALLVALUE) 0 0 0 0) [[ 1 ]] (GAS) }",
- "nonce" : "0",
+ "0x1000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6000600060006000346000355af16000555a600155",
+ "nonce" : "0x00",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xffffffffffffffffffffffffffffffff",
"code" : "",
- "nonce" : "0",
+ "nonce" : "0x00",
"storage" : {
}
},
- "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0xfffffffffffff",
- "code" : "{ (def 'i 0x80) (for {} (< @i 50000) [i](+ @i 1) [[ 0 ]] (STATICCALL 78200 2 0 50000 0 0) ) [[ 1 ]] @i}",
- "nonce" : "0",
+ "0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0fffffffffffff",
+ "code" : "0x5b61c3506080511015602b576000600061c3506000600262013178fa6000556001608051016080526000565b608051600155",
+ "nonce" : "0x00",
"storage" : {
}
},
- "cccf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0xfffffffffffff",
- "code" : "{ (def 'i 0x80) (for {} (< @i 50000) [i](+ @i 1) (MSTORE 0 (STATICCALL 78200 2 0 50000 0 0)) ) (MSTORE 32 @i ) }",
- "nonce" : "0",
+ "0xcccf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0fffffffffffff",
+ "code" : "0x5b61c3506080511015602b576000600061c3506000600262013178fa6000526001608051016080526000565b608051602052",
+ "nonce" : "0x00",
"storage" : {
}
}
@@ -139,14 +161,14 @@
"0x000000000000000000000000cccf5374fce5edbc8e2a8697c15331677e6ebf0b"
],
"gasLimit" : [
- "3925000000"
+ "0xe9f2bf40"
],
- "gasPrice" : "1",
- "nonce" : "",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "1000000000000000000000000000000000000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1000000000000000000000000000000000000000",
"value" : [
- "10"
+ "0x0a"
]
}
}