aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-02-01 20:12:45 +0800
committerDimitry <winsvega@mail.ru>2017-02-01 20:12:45 +0800
commite0937d9ff7cdd280c12deabed97f4280c483217d (patch)
tree90c3f02d801b1b313f871330c50bf37de4dd2dd5 /src
parent3035858d203314f3e83c4e898a7c3e78c1d287fa (diff)
downloadtangerine-tests-e0937d9ff7cdd280c12deabed97f4280c483217d.tar
tangerine-tests-e0937d9ff7cdd280c12deabed97f4280c483217d.tar.gz
tangerine-tests-e0937d9ff7cdd280c12deabed97f4280c483217d.tar.bz2
tangerine-tests-e0937d9ff7cdd280c12deabed97f4280c483217d.tar.lz
tangerine-tests-e0937d9ff7cdd280c12deabed97f4280c483217d.tar.xz
tangerine-tests-e0937d9ff7cdd280c12deabed97f4280c483217d.tar.zst
tangerine-tests-e0937d9ff7cdd280c12deabed97f4280c483217d.zip
fix src blockchas state tests to the actual chain parameters
todo: move blockhash tests out of state tests to bcTests
Diffstat (limited to 'src')
-rw-r--r--src/GeneralStateTestsFiller/stBlockHashTest/blockhash0Filler.json6
-rw-r--r--src/GeneralStateTestsFiller/stBlockHashTest/blockhashInRangeFiller.json8
-rw-r--r--src/GeneralStateTestsFiller/stBlockHashTest/blockhashJITFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stBlockHashTest/blockhashOutOfRangeFiller.json1
4 files changed, 9 insertions, 8 deletions
diff --git a/src/GeneralStateTestsFiller/stBlockHashTest/blockhash0Filler.json b/src/GeneralStateTestsFiller/stBlockHashTest/blockhash0Filler.json
index 8c5941b2e..24e1224c8 100644
--- a/src/GeneralStateTestsFiller/stBlockHashTest/blockhash0Filler.json
+++ b/src/GeneralStateTestsFiller/stBlockHashTest/blockhash0Filler.json
@@ -4,7 +4,7 @@
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
"currentGasLimit" : "100000000000",
- "currentNumber" : "5",
+ "currentNumber" : "1",
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -15,8 +15,8 @@
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"storage" : {
- "0x00" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d",
- "0x02" : "0x13600b294191fc92924bb3ce4b969c1e7e2bab8f4c93c3fc6d0a51733df3c060"
+ "0x00" : "0xba5e9b3fe3ba397b3c7298bc12b9514b3c0ae710aed7dd2355760986bf64258c",
+ "0x02" : "0x0000000000000000000000000000000000000000000000000000000000000000"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stBlockHashTest/blockhashInRangeFiller.json b/src/GeneralStateTestsFiller/stBlockHashTest/blockhashInRangeFiller.json
index de2e7810c..a09b9bc33 100644
--- a/src/GeneralStateTestsFiller/stBlockHashTest/blockhashInRangeFiller.json
+++ b/src/GeneralStateTestsFiller/stBlockHashTest/blockhashInRangeFiller.json
@@ -19,9 +19,9 @@
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"storage" : {
- "0x" : "0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6",
- "0x01" : "0xad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5",
- "0x02" : "0x6ca54da2c4784ea43fd88b3402de07ae4bced597cbb19f323b7595857a6720ae"
+ "0x00" : "0x6b57a674b322faaa04f8c1e3b349f927601419c6d51663234dfab4791b29d21e",
+ "0x01" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x02" : "0x0000000000000000000000000000000000000000000000000000000000000000"
}
}
}
@@ -30,7 +30,7 @@
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
- "code" : "{ [[ 0 ]] (BLOCKHASH 1) [[ 1 ]] (BLOCKHASH 2) [[ 2 ]] (BLOCKHASH 256) }",
+ "code" : "{ [[ 0 ]] (BLOCKHASH 0) [[ 1 ]] (BLOCKHASH 2) [[ 2 ]] (BLOCKHASH 256) }",
"nonce" : "0",
"storage" : {
}
diff --git a/src/GeneralStateTestsFiller/stBlockHashTest/blockhashJITFiller.json b/src/GeneralStateTestsFiller/stBlockHashTest/blockhashJITFiller.json
index 4eab80b88..0fa6aa47b 100644
--- a/src/GeneralStateTestsFiller/stBlockHashTest/blockhashJITFiller.json
+++ b/src/GeneralStateTestsFiller/stBlockHashTest/blockhashJITFiller.json
@@ -19,7 +19,7 @@
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"storage" : {
- "0x" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d",
+ "0x" : "0xa918d8371726efc228872df7238ff4b815a21dd07bc79b71abbbebf7d280cfbc",
"0x01" : "0"
}
}
diff --git a/src/GeneralStateTestsFiller/stBlockHashTest/blockhashOutOfRangeFiller.json b/src/GeneralStateTestsFiller/stBlockHashTest/blockhashOutOfRangeFiller.json
index 390f32585..939a499bd 100644
--- a/src/GeneralStateTestsFiller/stBlockHashTest/blockhashOutOfRangeFiller.json
+++ b/src/GeneralStateTestsFiller/stBlockHashTest/blockhashOutOfRangeFiller.json
@@ -19,6 +19,7 @@
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"storage" : {
+ "0x00" : "0xad4d0b346458d3bb9dae1815b1f20f2037535e9ec53447a2a9bf1a135e46cbfa"
}
}
}