diff options
3 files changed, 39 insertions, 48 deletions
diff --git a/GeneralStateTests/stCreateTest/CREATE_ContractRETURNBigOffset.json b/GeneralStateTests/stCreateTest/CREATE_ContractRETURNBigOffset.json index 5899d13ec..82c1affd8 100644 --- a/GeneralStateTests/stCreateTest/CREATE_ContractRETURNBigOffset.json +++ b/GeneralStateTests/stCreateTest/CREATE_ContractRETURNBigOffset.json @@ -2,10 +2,10 @@ "CREATE_ContractRETURNBigOffset" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.66dcbcec.Linux.g++", - "lllcversion" : "Version: 0.4.20-develop.2017.12.3+commit.4cad0b22.Linux.g++", - "source" : "src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractRETURNBigOffsetFiller.json", - "sourceHash" : "0e463a63f523bc42a4637f18919f058e5f66c4fa8747493bb947c7a1a44a3107" + "filledwith" : "cpp-1.3.0+commit.a56028e2.Darwin.appleclang", + "lllcversion" : "Version: 0.4.20-develop.2018.1.2+commit.efc198d5.Darwin.appleclang", + "source" : "src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractRETURNBigOffsetFiller.yml", + "sourceHash" : "4ac1e71b353096bf7012d1454133d2da666b6b2c0bbeeddfba589ef89b004a0a" }, "env" : { "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractRETURNBigOffsetFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractRETURNBigOffsetFiller.json deleted file mode 100644 index 08b0e0b00..000000000 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractRETURNBigOffsetFiller.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "CREATE_ContractRETURNBigOffset" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "89128960", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "pre" : - { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "100000000000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } - }, - "transaction" : { - "//data" : "{ (RETURN 0x074ac2 0x0d15bc) }", - "//data" : "{ (RETURN 0x074ac2 0x010000) }", - "//data" : "{ (RETURN 0x074ac2 0x051eb9) }", - "//data" : "{ (RETURN 0x074ac2 0x051eb8) }", - "data" : [ - "0x6201000062074ac2f3", - "0x62051eb862074ac2f3", - "0x62051eb962074ac2f3", - "0x620d15bc62074ac2f3" - ], - "gasLimit" : [ - "0x5000001" - ], - "gasPrice" : "0x02", - "nonce" : "0x00", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "", - "value" : [ - "0" - ] - } - } -} diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractRETURNBigOffsetFiller.yml b/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractRETURNBigOffsetFiller.yml new file mode 100644 index 000000000..71c67743e --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractRETURNBigOffsetFiller.yml @@ -0,0 +1,35 @@ +# Use return with big offset, causes BN error in ethereumjs-vm +--- +CREATE_ContractRETURNBigOffset: + env: + currentCoinbase: 2adc25665018aa1fe0e6bc666dac8fc2697ff9ba + currentDifficulty: '0x020000' + currentGasLimit: '89128960' + currentNumber: '1' + currentTimestamp: '1000' + previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6 + pre: + a94f5374fce5edbc8e2a8697c15331677e6ebf0b: + balance: '100000000000' + code: '' + nonce: '' + storage: {} + transaction: + data: + #- { (RETURN 0x074ac2 0x010000) } + #- { (RETURN 0x074ac2 0x051eb8) } + #- { (RETURN 0x074ac2 0x051eb9) } + #- { (RETURN 0x074ac2 0x0d15bc) } + - '0x6201000062074ac2f3' + - '0x62051eb862074ac2f3' + - '0x62051eb962074ac2f3' + - '0x620d15bc62074ac2f3' + gasLimit: + - '0x5000001' + gasPrice: '0x02' + nonce: '0x00' + secretKey: 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8 + to: '' + value: + - '0' + |