From 78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 1 Aug 2017 11:04:30 +0300 Subject: update general tests --- .../stQuadraticComplexityTest/Call50000_ecrec.json | 171 +++++++++++++++------ 1 file changed, 125 insertions(+), 46 deletions(-) (limited to 'GeneralStateTests/stQuadraticComplexityTest/Call50000_ecrec.json') diff --git a/GeneralStateTests/stQuadraticComplexityTest/Call50000_ecrec.json b/GeneralStateTests/stQuadraticComplexityTest/Call50000_ecrec.json index 5d933e8cb..890465933 100644 --- a/GeneralStateTests/stQuadraticComplexityTest/Call50000_ecrec.json +++ b/GeneralStateTests/stQuadraticComplexityTest/Call50000_ecrec.json @@ -6,58 +6,137 @@ "source" : "/src/GeneralStateTestsFiller/stQuadraticComplexityTest/Call50000_ecrecFiller.json" }, "env" : { - "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x020000", - "currentGasLimit" : "3000000000", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0xb2d05e00", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : 1, - "value" : -1 + "post" : { + "EIP150" : [ + { + "hash" : "0xaf8d734450c75798d1c17bc00806447452c2df2eefe7197d5c168b347798ce1e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] }, - "network" : [ - "ALL" - ], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "code" : "0x", - "nonce" : "0x01", - "storage" : { - } + { + "hash" : "0x6a5f7a73dede5653b97aefbc94525f8aeac9cde986a7e479d447c908ff49e2e0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "EIP158" : [ + { + "hash" : "0xaf8d734450c75798d1c17bc00806447452c2df2eefe7197d5c168b347798ce1e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "250000000", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } + "logs" : [ + ] + }, + { + "hash" : "0x6a5f7a73dede5653b97aefbc94525f8aeac9cde986a7e479d447c908ff49e2e0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 }, - "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "code" : "0x5b61c3506080511015602c576000600061c3506000600160016101f4f16000556001608051016080526000565b608051600155", - "nonce" : "0x00", - "storage" : { - } - } + "logs" : [ + ] } - } - ], + ], + "Frontier" : [ + { + "hash" : "0xaf8d734450c75798d1c17bc00806447452c2df2eefe7197d5c168b347798ce1e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x6a5f7a73dede5653b97aefbc94525f8aeac9cde986a7e479d447c908ff49e2e0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0xaf8d734450c75798d1c17bc00806447452c2df2eefe7197d5c168b347798ce1e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x6a5f7a73dede5653b97aefbc94525f8aeac9cde986a7e479d447c908ff49e2e0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0xaf8d734450c75798d1c17bc00806447452c2df2eefe7197d5c168b347798ce1e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x6a5f7a73dede5653b97aefbc94525f8aeac9cde986a7e479d447c908ff49e2e0", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : [ + ] + } + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0xffffffffffffffffffffffffffffffff", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0xffffffffffffffffffffffffffffffff", - "code" : "{ (def 'i 0x80) (for {} (< @i 50000) [i](+ @i 1) [[ 0 ]] (CALL 500 1 1 0 50000 0 0) ) [[ 1 ]] @i}", - "nonce" : "0", + "code" : "0x5b61c3506080511015602c576000600061c3506000600160016101f4f16000556001608051016080526000565b608051600155", + "nonce" : "0x00", "storage" : { } } @@ -67,15 +146,15 @@ "" ], "gasLimit" : [ - "150000", - "250000000" + "0x0249f0", + "0x0ee6b280" ], - "gasPrice" : "1", - "nonce" : "", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "10" + "0x0a" ] } } -- cgit