aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stTransactionTest
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2016-12-14 00:05:38 +0800
committerDimitry <winsvega@mail.ru>2016-12-14 00:05:38 +0800
commited484d96c8cfacd6a0591ef60a25370e75a599ee (patch)
tree3fab4e5cd81cf1526929af028a6b6201c2c1953c /GeneralStateTests/stTransactionTest
parent934b04dd4bc7a7edf54d37197f8cf85f9fa61d47 (diff)
downloaddexon-tests-ed484d96c8cfacd6a0591ef60a25370e75a599ee.tar.gz
dexon-tests-ed484d96c8cfacd6a0591ef60a25370e75a599ee.tar.zst
dexon-tests-ed484d96c8cfacd6a0591ef60a25370e75a599ee.zip
update tests for cpp PR's
Diffstat (limited to 'GeneralStateTests/stTransactionTest')
-rw-r--r--GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesSuccess.json45
-rw-r--r--GeneralStateTests/stTransactionTest/SuicidesMixingCoinbase.json45
-rw-r--r--GeneralStateTests/stTransactionTest/UserTransactionZeroCostWithData.json35
3 files changed, 112 insertions, 13 deletions
diff --git a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesSuccess.json b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesSuccess.json
index 5fbab7f14..2964150f1 100644
--- a/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesSuccess.json
+++ b/GeneralStateTests/stTransactionTest/SuicidesAndInternlCallSuicidesSuccess.json
@@ -11,42 +11,74 @@
"post" : {
"EIP150" : [
{
- "hash" : "bcca4b94f6685542b5431cc17b51efe68484246581ef150ee1d308c583478a71",
+ "hash" : "128115aec92c4018e4356912d56025520a6ef7fdaef2498b48c046fc5f1f957d",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "b09e2c82c72eab1acce2b3a97356325801b519b38bb3812e01a9f2e0b3f053cb",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ }
}
],
"EIP158" : [
{
- "hash" : "bcca4b94f6685542b5431cc17b51efe68484246581ef150ee1d308c583478a71",
+ "hash" : "128115aec92c4018e4356912d56025520a6ef7fdaef2498b48c046fc5f1f957d",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "b09e2c82c72eab1acce2b3a97356325801b519b38bb3812e01a9f2e0b3f053cb",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ }
}
],
"Frontier" : [
{
- "hash" : "15e7cb19df513ea5c978fb4930bdf7d48af5b87e67243e7d753627bb4e6b95b4",
+ "hash" : "edcf939a1838a72b983b33625bb64aafe89e5dc0e6868f13f75aa8b8ed4676b5",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "edcf939a1838a72b983b33625bb64aafe89e5dc0e6868f13f75aa8b8ed4676b5",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ }
}
],
"Homestead" : [
{
- "hash" : "15e7cb19df513ea5c978fb4930bdf7d48af5b87e67243e7d753627bb4e6b95b4",
+ "hash" : "edcf939a1838a72b983b33625bb64aafe89e5dc0e6868f13f75aa8b8ed4676b5",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "edcf939a1838a72b983b33625bb64aafe89e5dc0e6868f13f75aa8b8ed4676b5",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ }
}
]
},
@@ -67,7 +99,7 @@
},
"c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x03e8",
- "code" : "0x6000600060006000600160006155f0f1506000ff",
+ "code" : "0x600060006000600060016000600035f1506000ff",
"nonce" : "0x00",
"storage" : {
}
@@ -75,7 +107,8 @@
},
"transaction" : {
"data" : [
- ""
+ "0x00000000000000000000000000000000000000000000000000000000000055f0",
+ "0x000000000000000000000000000000000000000000000000000000000000aaf0"
],
"gasLimit" : [
"150000"
diff --git a/GeneralStateTests/stTransactionTest/SuicidesMixingCoinbase.json b/GeneralStateTests/stTransactionTest/SuicidesMixingCoinbase.json
index 7c60ff2c7..fd748dd96 100644
--- a/GeneralStateTests/stTransactionTest/SuicidesMixingCoinbase.json
+++ b/GeneralStateTests/stTransactionTest/SuicidesMixingCoinbase.json
@@ -11,48 +11,80 @@
"post" : {
"EIP150" : [
{
- "hash" : "84dbc27ce9bfc2907cbd78d3d81f62fc4aca9b5395e1f3c8339f8e181002c91d",
+ "hash" : "ebb113c5ae196dafdbb9c9a8e77c02e7b1e6bb6faf4339ea869bb1d0a6b9559f",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "101a8295ac56dc085b0c840487b73794c7b05226580c431e947f56c4424379f4",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
}
],
"EIP158" : [
{
- "hash" : "84dbc27ce9bfc2907cbd78d3d81f62fc4aca9b5395e1f3c8339f8e181002c91d",
+ "hash" : "ebb113c5ae196dafdbb9c9a8e77c02e7b1e6bb6faf4339ea869bb1d0a6b9559f",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "101a8295ac56dc085b0c840487b73794c7b05226580c431e947f56c4424379f4",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
}
],
"Frontier" : [
{
- "hash" : "f351e25d15fe2b6344de1944c6980b6f60f2820b103d569210419c60c7e56646",
+ "hash" : "6b09010bb30d1549da181bece2a888b61748c94829410ceb38bccdf8bd226ee2",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "6b09010bb30d1549da181bece2a888b61748c94829410ceb38bccdf8bd226ee2",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
}
],
"Homestead" : [
{
- "hash" : "f351e25d15fe2b6344de1944c6980b6f60f2820b103d569210419c60c7e56646",
+ "hash" : "6b09010bb30d1549da181bece2a888b61748c94829410ceb38bccdf8bd226ee2",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "6b09010bb30d1549da181bece2a888b61748c94829410ceb38bccdf8bd226ee2",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
}
]
},
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x55f0",
+ "balance" : "0x035b60",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
@@ -71,7 +103,8 @@
""
],
"gasLimit" : [
- "21700"
+ "21700",
+ "60000"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
diff --git a/GeneralStateTests/stTransactionTest/UserTransactionZeroCostWithData.json b/GeneralStateTests/stTransactionTest/UserTransactionZeroCostWithData.json
index bcf0588e4..4140db4cb 100644
--- a/GeneralStateTests/stTransactionTest/UserTransactionZeroCostWithData.json
+++ b/GeneralStateTests/stTransactionTest/UserTransactionZeroCostWithData.json
@@ -17,6 +17,14 @@
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
}
],
"EIP158" : [
@@ -27,6 +35,14 @@
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "a58bfc327c55e66f416e226023e67a47dd01e8f1c9e370379ec936551dd4aeb1",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
}
],
"Frontier" : [
@@ -37,6 +53,14 @@
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
}
],
"Homestead" : [
@@ -47,6 +71,14 @@
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "3a5e8a1cf1708fdf3de65990a78901893ff686d889e78b387e039206bb41b1ba",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
}
]
},
@@ -64,7 +96,8 @@
"0x3240349548983454"
],
"gasLimit" : [
- "32600"
+ "32600",
+ "60000"
],
"gasPrice" : "0x00",
"nonce" : "0x00",