aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stRevertTest/LoopCallsDepthThenRevert.json92
-rw-r--r--GeneralStateTests/stRevertTest/LoopCallsThenRevert.json126
-rw-r--r--GeneralStateTests/stRevertTest/LoopDelegateCallsDepthThenRevert.json92
3 files changed, 310 insertions, 0 deletions
diff --git a/GeneralStateTests/stRevertTest/LoopCallsDepthThenRevert.json b/GeneralStateTests/stRevertTest/LoopCallsDepthThenRevert.json
new file mode 100644
index 000000000..bad714214
--- /dev/null
+++ b/GeneralStateTests/stRevertTest/LoopCallsDepthThenRevert.json
@@ -0,0 +1,92 @@
+{
+ "LoopCallsDepthThenRevert" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x02b8feb0",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x28d138",
+ "currentTimestamp" : "0x01",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "81b5f1c57a1dcae800a1b87c67808809006e77f1b7645ba21eba71f5fc2a9852",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "81b5f1c57a1dcae800a1b87c67808809006e77f1b7645ba21eba71f5fc2a9852",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "d9c98049def493351df6808ceef42a14c3d4f3321c816d64bb57332e82426a0d",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "d9c98049def493351df6808ceef42a14c3d4f3321c816d64bb57332e82426a0d",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ]
+ },
+ "pre" : {
+ "a000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6001600054016000556000600060006000600073b0000000000000000000000000000000000000005af1",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "b000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6001600054016000556000600060006000600073a0000000000000000000000000000000000000005af1",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "10000000"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "a000000000000000000000000000000000000000",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stRevertTest/LoopCallsThenRevert.json b/GeneralStateTests/stRevertTest/LoopCallsThenRevert.json
new file mode 100644
index 000000000..5f09d29b7
--- /dev/null
+++ b/GeneralStateTests/stRevertTest/LoopCallsThenRevert.json
@@ -0,0 +1,126 @@
+{
+ "LoopCallsThenRevert" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x02b8feb0",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x28d138",
+ "currentTimestamp" : "0x01",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "01422f9f38e9ac49e24d119a250f58979b44d1b2e99ef2f9032dc33dcf9c1df1",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "da2f7fa251260ee3f45c72597ba85421a88492749f2c7e7276cbce63436b99be",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "01422f9f38e9ac49e24d119a250f58979b44d1b2e99ef2f9032dc33dcf9c1df1",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "da2f7fa251260ee3f45c72597ba85421a88492749f2c7e7276cbce63436b99be",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "d2cf7d4f9abde7c247783fbb366baa64189ec2d482de9638723a49059eb5e4aa",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "d2cf7d4f9abde7c247783fbb366baa64189ec2d482de9638723a49059eb5e4aa",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "d2cf7d4f9abde7c247783fbb366baa64189ec2d482de9638723a49059eb5e4aa",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "d2cf7d4f9abde7c247783fbb366baa64189ec2d482de9638723a49059eb5e4aa",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ }
+ }
+ ]
+ },
+ "pre" : {
+ "a000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x5b6001600054036000556000600060006000600073b00000000000000000000000000000000000000061c350f150600054600057",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x0352"
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "b000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x600054600101600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "10000000",
+ "9000000"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "a000000000000000000000000000000000000000",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stRevertTest/LoopDelegateCallsDepthThenRevert.json b/GeneralStateTests/stRevertTest/LoopDelegateCallsDepthThenRevert.json
new file mode 100644
index 000000000..fa23e1b32
--- /dev/null
+++ b/GeneralStateTests/stRevertTest/LoopDelegateCallsDepthThenRevert.json
@@ -0,0 +1,92 @@
+{
+ "LoopDelegateCallsDepthThenRevert" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x02b8feb0",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x28d138",
+ "currentTimestamp" : "0x01",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "b8e2ecbaeed90b5e892a2832cfc3231496ff86680f0fb898fcdf7ec894f92d45",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "b8e2ecbaeed90b5e892a2832cfc3231496ff86680f0fb898fcdf7ec894f92d45",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "f9d4a72012836575c25f1b5e8bd7b573ebf132caf6b10bd891636f80fc792117",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "f9d4a72012836575c25f1b5e8bd7b573ebf132caf6b10bd891636f80fc792117",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ]
+ },
+ "pre" : {
+ "a000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x600160005401600055600060006000600073b0000000000000000000000000000000000000005af4",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "b000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x600160005401600055600060006000600073a0000000000000000000000000000000000000005af4",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "10000000"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "a000000000000000000000000000000000000000",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+} \ No newline at end of file