aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-07-06 03:14:40 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-07-06 03:14:40 +0800
commitbf85a5c8590b928e63dbc01a8a83fbd0ec13c3b7 (patch)
treedd67ec2f4f00773deb1fc77e28fbadd0388c92f6 /GeneralStateTests
parent466c10373c324a8d024b32a4476778f3211d0c8a (diff)
downloaddexon-tests-bf85a5c8590b928e63dbc01a8a83fbd0ec13c3b7.tar
dexon-tests-bf85a5c8590b928e63dbc01a8a83fbd0ec13c3b7.tar.gz
dexon-tests-bf85a5c8590b928e63dbc01a8a83fbd0ec13c3b7.tar.bz2
dexon-tests-bf85a5c8590b928e63dbc01a8a83fbd0ec13c3b7.tar.lz
dexon-tests-bf85a5c8590b928e63dbc01a8a83fbd0ec13c3b7.tar.xz
dexon-tests-bf85a5c8590b928e63dbc01a8a83fbd0ec13c3b7.tar.zst
dexon-tests-bf85a5c8590b928e63dbc01a8a83fbd0ec13c3b7.zip
Fix and refill GeneralStateTest after fixing the nonce change for address collision
https://github.com/ethereum/cpp-ethereum/issues/4225
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stRevertTest/RevertDepthCreateAddressCollision.json10
-rw-r--r--GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow.json48
-rw-r--r--GeneralStateTests/stStaticCall/static_contractCreationOOGdontLeaveEmptyContractViaTransaction.json222
3 files changed, 7 insertions, 273 deletions
diff --git a/GeneralStateTests/stRevertTest/RevertDepthCreateAddressCollision.json b/GeneralStateTests/stRevertTest/RevertDepthCreateAddressCollision.json
index 4a5365108..c1317bc2f 100644
--- a/GeneralStateTests/stRevertTest/RevertDepthCreateAddressCollision.json
+++ b/GeneralStateTests/stRevertTest/RevertDepthCreateAddressCollision.json
@@ -2,7 +2,7 @@
"RevertDepthCreateAddressCollision" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.6f065292.Linux.g++",
+ "filledwith" : "cpp-1.3.0+commit.a710be6a.Linux.g++",
"source" : "/src/GeneralStateTestsFiller/stRevertTest/RevertDepthCreateAddressCollisionFiller.json"
},
"env" : {
@@ -64,7 +64,7 @@
}
},
{
- "hash" : "0xb46d0cef0aaed0c79f3f2217d0d5319c6a91b130df4cf9495979b9dc99e6a8a9",
+ "hash" : "0x9406f62f8076b4aeda0df90dda740f7baf01a974a60a0e2f4a1c6d3b82d2dad0",
"indexes" : {
"data" : 1,
"gas" : 1,
@@ -72,7 +72,7 @@
}
},
{
- "hash" : "0x78ba42aa7a64d9d20dfcbbcf3527486f7607bc694724b6d2cf9d34cb7696eee4",
+ "hash" : "0x351e539bd904c6a9c1f78675c78b4263f58f6922dfc3c92cc05ee30ef36c5f6b",
"indexes" : {
"data" : 1,
"gas" : 1,
@@ -130,7 +130,7 @@
}
},
{
- "hash" : "0xda322bcf094f1785bd69806d493d816c9919274912b75c3636cbb2e9176dea33",
+ "hash" : "0x0c7b356c3b36ebac5243f47fccfe6f036e6fc039fdaa87696c897c42b79806f3",
"indexes" : {
"data" : 1,
"gas" : 1,
@@ -138,7 +138,7 @@
}
},
{
- "hash" : "0x19013819c754a9013bb5884a8ecbf1a920cc54a0f84cd34a117f7a947cc4e724",
+ "hash" : "0x4e6ed5a94aa24414b64250913a2450a9fdcfd07a585fb83083e6215b898cd7b9",
"indexes" : {
"data" : 1,
"gas" : 1,
diff --git a/GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow.json b/GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow.json
index 8d949da6d..f61a25f27 100644
--- a/GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow.json
+++ b/GeneralStateTests/stStaticCall/static_Call1024BalanceTooLow.json
@@ -2,7 +2,7 @@
"static_Call1024BalanceTooLow" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.d239486b.Linux.g++",
+ "filledwith" : "cpp-1.3.0+commit.a710be6a.Linux.g++",
"source" : "/src/GeneralStateTestsFiller/stStaticCall/static_Call1024BalanceTooLowFiller.json"
},
"env" : {
@@ -101,52 +101,6 @@
"data" : 1,
"gas" : 0,
"value" : 0
- },
- "postState" : {
- "0x1000000000000000000000000000000000000000" : {
- "balance" : "0x00",
- "code" : "0x6000600060006000346000355af16000555a600155",
- "nonce" : "0x00",
- "storage" : {
- "0x00" : "0x01",
- "0x01" : "0x0ffffff458dd"
- }
- },
- "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "0x0cccce",
- "code" : "",
- "nonce" : "0x00",
- "storage" : {
- }
- },
- "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0xfffffffffffffffffffffffffff33327",
- "code" : "",
- "nonce" : "0x01",
- "storage" : {
- }
- },
- "0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x1b58",
- "code" : "",
- "nonce" : "0x00",
- "storage" : {
- }
- },
- "0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0400",
- "code" : "0x60016000540160005560006000600060005473bbbf5374fce5edbc8e2a8697c15331677e6ebf0b650ffffffffffffa600155",
- "nonce" : "0x00",
- "storage" : {
- }
- },
- "0xcbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x040a",
- "code" : "0x60016000510160005260006000600060005173cbbf5374fce5edbc8e2a8697c15331677e6ebf0b650ffffffffffffa602052",
- "nonce" : "0x00",
- "storage" : {
- }
- }
}
}
]
diff --git a/GeneralStateTests/stStaticCall/static_contractCreationOOGdontLeaveEmptyContractViaTransaction.json b/GeneralStateTests/stStaticCall/static_contractCreationOOGdontLeaveEmptyContractViaTransaction.json
index 0d85e9892..c5e6ffdc2 100644
--- a/GeneralStateTests/stStaticCall/static_contractCreationOOGdontLeaveEmptyContractViaTransaction.json
+++ b/GeneralStateTests/stStaticCall/static_contractCreationOOGdontLeaveEmptyContractViaTransaction.json
@@ -2,7 +2,7 @@
"static_contractCreationOOGdontLeaveEmptyContractViaTransaction" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.9732e0ef.Linux.g++",
+ "filledwith" : "cpp-1.3.0+commit.a710be6a.Linux.g++",
"source" : "/src/GeneralStateTestsFiller/stStaticCall/static_contractCreationOOGdontLeaveEmptyContractViaTransactionFiller.json"
},
"env" : {
@@ -21,43 +21,6 @@
"data" : 0,
"gas" : 0,
"value" : 0
- },
- "stateDiff" : {
- "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : [
- [
- "0x00",
- "+=",
- "0x017700"
- ],
- [
- "0x00",
- "->",
- "0x017700"
- ]
- ],
- "newlyCreated" : "true"
- },
- "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : [
- [
- "0x10c8e0",
- "+=",
- "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8900"
- ],
- [
- "0x10c8e0",
- "->",
- "0x0f51e0"
- ]
- ],
- "newlyCreated" : "true",
- "nonce" : [
- "0x00",
- "->",
- "0x01"
- ]
- }
}
}
],
@@ -68,43 +31,6 @@
"data" : 0,
"gas" : 0,
"value" : 0
- },
- "stateDiff" : {
- "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : [
- [
- "0x00",
- "+=",
- "0x017700"
- ],
- [
- "0x00",
- "->",
- "0x017700"
- ]
- ],
- "newlyCreated" : "true"
- },
- "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : [
- [
- "0x10c8e0",
- "+=",
- "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8900"
- ],
- [
- "0x10c8e0",
- "->",
- "0x0f51e0"
- ]
- ],
- "newlyCreated" : "true",
- "nonce" : [
- "0x00",
- "->",
- "0x01"
- ]
- }
}
}
],
@@ -115,43 +41,6 @@
"data" : 0,
"gas" : 0,
"value" : 0
- },
- "stateDiff" : {
- "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : [
- [
- "0x00",
- "+=",
- "0x017700"
- ],
- [
- "0x00",
- "->",
- "0x017700"
- ]
- ],
- "newlyCreated" : "true"
- },
- "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : [
- [
- "0x10c8e0",
- "+=",
- "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8900"
- ],
- [
- "0x10c8e0",
- "->",
- "0x0f51e0"
- ]
- ],
- "newlyCreated" : "true",
- "nonce" : [
- "0x00",
- "->",
- "0x01"
- ]
- }
}
}
],
@@ -162,43 +51,6 @@
"data" : 0,
"gas" : 0,
"value" : 0
- },
- "stateDiff" : {
- "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : [
- [
- "0x00",
- "+=",
- "0x017700"
- ],
- [
- "0x00",
- "->",
- "0x017700"
- ]
- ],
- "newlyCreated" : "true"
- },
- "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : [
- [
- "0x10c8e0",
- "+=",
- "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8900"
- ],
- [
- "0x10c8e0",
- "->",
- "0x0f51e0"
- ]
- ],
- "newlyCreated" : "true",
- "nonce" : [
- "0x00",
- "->",
- "0x01"
- ]
- }
}
}
],
@@ -209,78 +61,6 @@
"data" : 0,
"gas" : 0,
"value" : 0
- },
- "stateDiff" : {
- "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : [
- [
- "0x00",
- "+=",
- "0x01747b"
- ],
- [
- "0x00",
- "->",
- "0x01747b"
- ]
- ],
- "newlyCreated" : "true"
- },
- "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : [
- [
- "0x10c8e0",
- "+=",
- "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8900"
- ],
- [
- "0x0f51e0",
- "+=",
- "0x0285"
- ],
- [
- "0x10c8e0",
- "->",
- "0x0f5465"
- ]
- ],
- "newlyCreated" : "true",
- "nonce" : [
- "0x00",
- "->",
- "0x01"
- ]
- },
- "0xe005e77ffd2953dd93c80b805101c03dac64291b" : {
- "balance" : [
- [
- "0x10c8e0",
- "+=",
- "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8900"
- ],
- [
- "0x0f51e0",
- "+=",
- "0x0285"
- ],
- [
- "0x10c8e0",
- "->",
- "0x0f5465"
- ]
- ],
- "code" : [
- "0x",
- "->",
- "0x"
- ],
- "newlyCreated" : "true",
- "nonce" : [
- "0x00",
- "->",
- "0x01"
- ]
- }
}
}
]