aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stSpecialTest
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-06-02 03:54:16 +0800
committerDimitry <winsvega@mail.ru>2017-06-02 07:23:01 +0800
commite51fb53b186de10a53171a2777aa843d2c68dbce (patch)
tree9f4af825200d227aeca50da31f7534b7ed1b2c0e /GeneralStateTests/stSpecialTest
parenta7a3e5c2290f0e958509bfdbb52ef4545d495326 (diff)
downloaddexon-tests-e51fb53b186de10a53171a2777aa843d2c68dbce.tar
dexon-tests-e51fb53b186de10a53171a2777aa843d2c68dbce.tar.gz
dexon-tests-e51fb53b186de10a53171a2777aa843d2c68dbce.tar.bz2
dexon-tests-e51fb53b186de10a53171a2777aa843d2c68dbce.tar.lz
dexon-tests-e51fb53b186de10a53171a2777aa843d2c68dbce.tar.xz
dexon-tests-e51fb53b186de10a53171a2777aa843d2c68dbce.tar.zst
dexon-tests-e51fb53b186de10a53171a2777aa843d2c68dbce.zip
make blockhash state test only as blockchain tests
Diffstat (limited to 'GeneralStateTests/stSpecialTest')
-rw-r--r--GeneralStateTests/stSpecialTest/BadStateRootTx.json95
-rw-r--r--GeneralStateTests/stSpecialTest/BadStateRootTxBC.json80
2 files changed, 80 insertions, 95 deletions
diff --git a/GeneralStateTests/stSpecialTest/BadStateRootTx.json b/GeneralStateTests/stSpecialTest/BadStateRootTx.json
deleted file mode 100644
index b1bdb4b49..000000000
--- a/GeneralStateTests/stSpecialTest/BadStateRootTx.json
+++ /dev/null
@@ -1,95 +0,0 @@
-{
- "BadStateRootTx" : {
- "env" : {
- "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
- "currentDifficulty" : "0x020000",
- "currentGasLimit" : "0x7fffffffffffffff",
- "currentNumber" : "0x01",
- "currentTimestamp" : "0x03e8",
- "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
- },
- "post" : {
- "EIP150" : [
- {
- "hash" : "0xf8705795c59bf2298bf493132c473a02b63e64ee8d7d5661c7bc32fc18965cdf",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ],
- "EIP158" : [
- {
- "hash" : "0xf8705795c59bf2298bf493132c473a02b63e64ee8d7d5661c7bc32fc18965cdf",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ],
- "Frontier" : [
- {
- "hash" : "0xf8705795c59bf2298bf493132c473a02b63e64ee8d7d5661c7bc32fc18965cdf",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ],
- "Homestead" : [
- {
- "hash" : "0xf8705795c59bf2298bf493132c473a02b63e64ee8d7d5661c7bc32fc18965cdf",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ],
- "Metropolis" : [
- {
- "hash" : "0xf8705795c59bf2298bf493132c473a02b63e64ee8d7d5661c7bc32fc18965cdf",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ]
- },
- "pre" : {
- "0x1baf27b88c48dd02b744999cf3522766929d2b2a" : {
- "balance" : "0x03e8",
- "code" : "0x600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b3314156023573540602035145b15602e576040356000555b",
- "nonce" : "0x00",
- "storage" : {
- }
- },
- "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x1e8480",
- "code" : "",
- "nonce" : "0x00",
- "storage" : {
- }
- }
- },
- "transaction" : {
- "data" : [
- "0x00000000000000000000000000000000000000000000000000000000000bc03712fac13c68425054e372b0861af05648614d69d32800fba9ad4522238d4b937a0000000000000000000000000000000000000000000000000000000000000000"
- ],
- "gasLimit" : [
- "0x030d40"
- ],
- "gasPrice" : "0x01",
- "nonce" : "0x00",
- "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "0x1baf27b88c48dd02b744999cf3522766929d2b2a",
- "value" : [
- "0x00"
- ]
- }
- }
-} \ No newline at end of file
diff --git a/GeneralStateTests/stSpecialTest/BadStateRootTxBC.json b/GeneralStateTests/stSpecialTest/BadStateRootTxBC.json
new file mode 100644
index 000000000..b65778e8c
--- /dev/null
+++ b/GeneralStateTests/stSpecialTest/BadStateRootTxBC.json
@@ -0,0 +1,80 @@
+{
+ "BadStateRootTxBC" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x7fffffffffffffff",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [
+ "Frontier",
+ "Homestead",
+ "EIP150",
+ "EIP158"
+ ],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1976363",
+ "nonce" : "1"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [
+ "Metropolis"
+ ],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1975583",
+ "nonce" : "1"
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "1baf27b88c48dd02b744999cf3522766929d2b2a" : {
+ "balance" : "1000",
+ "code" : "0x600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b3314156023573540602035145b15602e576040356000555b",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "2000000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x00000000000000000000000000000000000000000000000000000000000bc03712fac13c68425054e372b0861af05648614d69d32800fba9ad4522238d4b937a0000000000000000000000000000000000000000000000000000000000000000"
+ ],
+ "gasLimit" : [
+ "200000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "1baf27b88c48dd02b744999cf3522766929d2b2a",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+} \ No newline at end of file