From 4bedb7293024d1724993df23d2b20863fe24c782 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Wed, 8 Feb 2017 21:13:33 +0400 Subject: update general state tests fillers to suite blockchain --- .../stWalletTest/dayLimitConstructionFiller.json | 33 +++++----------------- 1 file changed, 7 insertions(+), 26 deletions(-) (limited to 'src/GeneralStateTestsFiller/stWalletTest/dayLimitConstructionFiller.json') diff --git a/src/GeneralStateTestsFiller/stWalletTest/dayLimitConstructionFiller.json b/src/GeneralStateTestsFiller/stWalletTest/dayLimitConstructionFiller.json index 61754490c..d1149d74d 100644 --- a/src/GeneralStateTestsFiller/stWalletTest/dayLimitConstructionFiller.json +++ b/src/GeneralStateTestsFiller/stWalletTest/dayLimitConstructionFiller.json @@ -1,11 +1,11 @@ { - "dayLimitConstruction " : { + "dayLimitConstruction" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "256", + "currentDifficulty" : "0x20000", "currentGasLimit" : "10000000", - "currentNumber" : "0", - "currentTimestamp" : "0xfffffffff", + "currentNumber" : "1", + "currentTimestamp" : "1000", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, "expect" : [ @@ -30,7 +30,7 @@ "storage" : { "0x00" : "0x01", "0x01" : "0x01", - "0x0107" : "0x0c22e4", + "0x0107" : "0", "0x03" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "0x6e369836487c234b9e553ef3f787c2d8865520739d340c67b3d251a33986e58d" : "0x01" } @@ -40,26 +40,7 @@ { "indexes" : { "data" : -1, - "gas" : 0, - "value" : -1 - }, - "network" : ["EIP158"], - "result" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "code" : "0x", - "nonce" : "0x02", - "storage" : { - } - }, - "ec0e71ad0a90ffe1909d27dac207f7680abba42d" : { - "shouldnotexist" : "1" - } - } - }, - { - "indexes" : { - "data" : -1, - "gas" : 1, + "gas" : [0,1], "value" : -1 }, "network" : ["EIP158"], @@ -77,7 +58,7 @@ "storage" : { "0x00" : "0x01", "0x01" : "0x01", - "0x0107" : "0x0c22e4", + "0x0107" : "0", "0x03" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "0x6e369836487c234b9e553ef3f787c2d8865520739d340c67b3d251a33986e58d" : "0x01" } -- cgit v1.2.3