aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stRevertTest/RevertPrefoundFiller.json
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2017-01-10 19:05:21 +0800
committerDimitry <dimitry@ethdev.com>2017-01-10 19:05:21 +0800
commitb5479eebec04cdc54705a39e3d181d3a168e3cc7 (patch)
tree3661e4592a32583dbed86d8b8e62f99414f7c6dd /src/GeneralStateTestsFiller/stRevertTest/RevertPrefoundFiller.json
parent76a70a3b1fb0c9ab78302c50a47b92db7fa08f95 (diff)
parent133f327a7f06088030a60fd165b957bf4d0ebc52 (diff)
downloaddexon-tests-b5479eebec04cdc54705a39e3d181d3a168e3cc7.tar
dexon-tests-b5479eebec04cdc54705a39e3d181d3a168e3cc7.tar.gz
dexon-tests-b5479eebec04cdc54705a39e3d181d3a168e3cc7.tar.bz2
dexon-tests-b5479eebec04cdc54705a39e3d181d3a168e3cc7.tar.lz
dexon-tests-b5479eebec04cdc54705a39e3d181d3a168e3cc7.tar.xz
dexon-tests-b5479eebec04cdc54705a39e3d181d3a168e3cc7.tar.zst
dexon-tests-b5479eebec04cdc54705a39e3d181d3a168e3cc7.zip
Merge branch 'develop' of https://github.com/ethereum/tests into develop
Diffstat (limited to 'src/GeneralStateTestsFiller/stRevertTest/RevertPrefoundFiller.json')
-rw-r--r--src/GeneralStateTestsFiller/stRevertTest/RevertPrefoundFiller.json105
1 files changed, 105 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertPrefoundFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertPrefoundFiller.json
new file mode 100644
index 000000000..2341c2ae0
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stRevertTest/RevertPrefoundFiller.json
@@ -0,0 +1,105 @@
+{
+ "RevertPrefound" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "45678256",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "2675000",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Frontier", "Homestead"],
+ "result" : {
+ "7db299e0885c85039f56fa504a13dd8ce8a56aa7" : {
+ "balance" : "1",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP150"],
+ "result" : {
+ "7db299e0885c85039f56fa504a13dd8ce8a56aa7" : {
+ "balance" : "1",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "7db299e0885c85039f56fa504a13dd8ce8a56aa7" : {
+ "balance" : "1",
+ "code" : "",
+ "nonce" : "1",
+ "storage" : {
+ }
+ }
+ }
+ }
+ ],
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "7db299e0885c85039f56fa504a13dd8ce8a56aa7" : {
+ "balance" : "1",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a000000000000000000000000000000000000000" : {
+ "balance" : "1",
+ "code" : "{ [[0]] (CREATE 0 0 32) [[1]]12 }",
+ "nonce" : "",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "so X has nothing but the balance Transaction calls A A creates X A went OOG",
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "94000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "a000000000000000000000000000000000000000",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+}