From 60075171252faccb5cb761939fd0e49f88e40204 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Fri, 16 Dec 2016 18:22:29 +0300 Subject: eip150 test fillers to general tests --- ...nTransactionHasWithMemExpandingCallsFiller.json | 103 +++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 src/GeneralStateTestsFiller/stMemExpandingEIP150Calls/CallAndCallcodeConsumeMoreGasThenTransactionHasWithMemExpandingCallsFiller.json (limited to 'src/GeneralStateTestsFiller/stMemExpandingEIP150Calls/CallAndCallcodeConsumeMoreGasThenTransactionHasWithMemExpandingCallsFiller.json') diff --git a/src/GeneralStateTestsFiller/stMemExpandingEIP150Calls/CallAndCallcodeConsumeMoreGasThenTransactionHasWithMemExpandingCallsFiller.json b/src/GeneralStateTestsFiller/stMemExpandingEIP150Calls/CallAndCallcodeConsumeMoreGasThenTransactionHasWithMemExpandingCallsFiller.json new file mode 100644 index 000000000..267bfebd2 --- /dev/null +++ b/src/GeneralStateTestsFiller/stMemExpandingEIP150Calls/CallAndCallcodeConsumeMoreGasThenTransactionHasWithMemExpandingCallsFiller.json @@ -0,0 +1,103 @@ +{ + "CallAndCallcodeConsumeMoreGasThenTransactionHasWithMemExpandingCalls" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "45678256", + "currentGasLimit" : "10000000", + "currentNumber" : "2675000", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP150"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b": { + "nonce": "1", + "balance": "999999877487" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b": { + "storage": { + "0x08": "0x08d5b6", + "0x09": "0x01", + "0x00": "0x12", + "0x0a": "0x01" + } + }, + "1000000000000000000000000000000000000103": { + "storage": { + "0x00": "0x12" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b": { + "nonce": "1", + "balance": "999999400000" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b": { + "storage": { + "0x08": "0", + "0x09": "0", + "0x00": "0", + "0x0a": "0" + } + }, + "1000000000000000000000000000000000000103": { + "storage": { + "0x00": "0" + } + } + } + } + ], + "pre": { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b": { + "nonce": "0x00", + "balance": "0xe8d4a51000", + "code": "0x", + "storage": {} + }, + "1000000000000000000000000000000000000103": { + "nonce": "0x00", + "balance": "0x00", + "code": "0x6012600055", + "storage": {} + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b": { + "nonce": "0x00", + "balance": "0x00", + "code": "0x5a60085560ff60ff60ff60ff6000731000000000000000000000000000000000000103620927c0f160095560ff60ff60ff60ff6000731000000000000000000000000000000000000103620927c0f2600a55", + "storage": {} + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0927c0" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0" + ] + } + } +} -- cgit