aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-08-04 22:38:02 +0800
committerGitHub <noreply@github.com>2017-08-04 22:38:02 +0800
commitd910fcd855aee824ccbdda4e3a03cc319c2a6273 (patch)
tree300252c8c92928a0956f8adb9623179c86c98682 /src
parent3f884be385a4a2f20c72f330fd5bf202e7e84c7d (diff)
parent0de110ef433864c0e7c8a258dcc9706993b4934f (diff)
downloadtangerine-tests-d910fcd855aee824ccbdda4e3a03cc319c2a6273.tar
tangerine-tests-d910fcd855aee824ccbdda4e3a03cc319c2a6273.tar.gz
tangerine-tests-d910fcd855aee824ccbdda4e3a03cc319c2a6273.tar.bz2
tangerine-tests-d910fcd855aee824ccbdda4e3a03cc319c2a6273.tar.lz
tangerine-tests-d910fcd855aee824ccbdda4e3a03cc319c2a6273.tar.xz
tangerine-tests-d910fcd855aee824ccbdda4e3a03cc319c2a6273.tar.zst
tangerine-tests-d910fcd855aee824ccbdda4e3a03cc319c2a6273.zip
Merge pull request #245 from ethereum/blockhashtest
blockhash test on Byzantine transition
Diffstat (limited to 'src')
-rw-r--r--src/BlockchainTestsFiller/TransitionTests/bcEIP158ToByzantium/ByzantiumTransitionFiller.json23
1 files changed, 19 insertions, 4 deletions
diff --git a/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToByzantium/ByzantiumTransitionFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToByzantium/ByzantiumTransitionFiller.json
index 013612594..61e0400f4 100644
--- a/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToByzantium/ByzantiumTransitionFiller.json
+++ b/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToByzantium/ByzantiumTransitionFiller.json
@@ -20,7 +20,10 @@
"network" : "EIP158ToByzantiumAt5",
"expect" : {
"1000000000000000000000000000000000000001" : {
- "balance" : "2"
+ "balance" : "1"
+ },
+ "1000000000000000000000000000000000000002" : {
+ "balance" : "1"
}
},
"pre" : {
@@ -30,6 +33,18 @@
"nonce" : "0",
"code" : "",
"storage": {}
+ },
+ "1000000000000000000000000000000000000001" : {
+ "balance" : "0",
+ "nonce" : "0",
+ "code" : "{ [[ 0 ]] (BLOCKHASH 0) [[ 1 ]] (BLOCKHASH 1) [[ 2 ]] (BLOCKHASH 2) [[ 3 ]] (BLOCKHASH 3) [[ 4 ]] (BLOCKHASH 4) [[ 5 ]] (BLOCKHASH 5) [[ 6 ]] (BLOCKHASH 6) [[ 7 ]] (BLOCKHASH 7) [[ 8 ]] (BLOCKHASH 8) [[ 9 ]] (BLOCKHASH 9) [[ 10 ]] (BLOCKHASH 10)}",
+ "storage": {}
+ },
+ "1000000000000000000000000000000000000002" : {
+ "balance" : "0",
+ "nonce" : "0",
+ "code" : "{ [[ 0 ]] (BLOCKHASH 0) [[ 1 ]] (BLOCKHASH 1) [[ 2 ]] (BLOCKHASH 2) [[ 3 ]] (BLOCKHASH 3) [[ 4 ]] (BLOCKHASH 4) [[ 5 ]] (BLOCKHASH 5) [[ 6 ]] (BLOCKHASH 6) [[ 7 ]] (BLOCKHASH 7) [[ 8 ]] (BLOCKHASH 8) [[ 9 ]] (BLOCKHASH 9) [[ 10 ]] (BLOCKHASH 10)}",
+ "storage": {}
}
},
"blocks" : [
@@ -87,7 +102,7 @@
"transactions" : [
{
"data" : "",
- "gasLimit" : "60000",
+ "gasLimit" : "600000",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -107,11 +122,11 @@
"transactions" : [
{
"data" : "",
- "gasLimit" : "60000",
+ "gasLimit" : "600000",
"gasPrice" : "1",
"nonce" : "1",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "1000000000000000000000000000000000000001",
+ "to" : "1000000000000000000000000000000000000002",
"value" : "1"
}
],