diff options
author | Dimitry <dimitry@ethereum.org> | 2018-02-16 06:23:18 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-02-16 06:23:18 +0800 |
commit | 4211f657f2c9bd11d8e845c6cbc376cfadf4c9b5 (patch) | |
tree | 6baceff8a89114d35a0172e32c4468e3a9385071 /src/GeneralStateTestsFiller | |
parent | dad42f8d24c8284067503bfa719a8ab84e2a2ca3 (diff) | |
download | tangerine-tests-4211f657f2c9bd11d8e845c6cbc376cfadf4c9b5.tar tangerine-tests-4211f657f2c9bd11d8e845c6cbc376cfadf4c9b5.tar.gz tangerine-tests-4211f657f2c9bd11d8e845c6cbc376cfadf4c9b5.tar.bz2 tangerine-tests-4211f657f2c9bd11d8e845c6cbc376cfadf4c9b5.tar.lz tangerine-tests-4211f657f2c9bd11d8e845c6cbc376cfadf4c9b5.tar.xz tangerine-tests-4211f657f2c9bd11d8e845c6cbc376cfadf4c9b5.tar.zst tangerine-tests-4211f657f2c9bd11d8e845c6cbc376cfadf4c9b5.zip |
fix stArgsZeroOneBalance
Diffstat (limited to 'src/GeneralStateTestsFiller')
8 files changed, 34 insertions, 20 deletions
diff --git a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/callNonConstFiller.yml b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/callNonConstFiller.yml index 99026fb1e..a940783bc 100644 --- a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/callNonConstFiller.yml +++ b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/callNonConstFiller.yml @@ -9,7 +9,7 @@ callNonConst: previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6 expect: - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 0 network: @@ -19,7 +19,7 @@ callNonConst: storage: 0x: '0x01' - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 1 network: @@ -42,7 +42,6 @@ callNonConst: transaction: data: - '' - - '0x11223344' gasLimit: - '400000' gasPrice: '1' diff --git a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/callcodeNonConstFiller.yml b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/callcodeNonConstFiller.yml index 3af06e2a8..cca1c6f51 100644 --- a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/callcodeNonConstFiller.yml +++ b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/callcodeNonConstFiller.yml @@ -9,7 +9,7 @@ callcodeNonConst: previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6 expect: - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 0 network: @@ -19,7 +19,7 @@ callcodeNonConst: storage: 0x: '0x01' - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 1 network: @@ -42,7 +42,6 @@ callcodeNonConst: transaction: data: - '' - - '0x11223344' gasLimit: - '400000' gasPrice: '1' diff --git a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/calldatacopyNonConstFiller.yml b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/calldatacopyNonConstFiller.yml index 506155523..37bf77ab0 100644 --- a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/calldatacopyNonConstFiller.yml +++ b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/calldatacopyNonConstFiller.yml @@ -9,7 +9,7 @@ calldatacopyNonConst: previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6 expect: - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 0 network: @@ -19,7 +19,7 @@ calldatacopyNonConst: storage: 0x: '0' - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 1 network: diff --git a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/calldataloadNonConstFiller.yml b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/calldataloadNonConstFiller.yml index 4f5cefc5b..93fa1c5e7 100644 --- a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/calldataloadNonConstFiller.yml +++ b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/calldataloadNonConstFiller.yml @@ -19,6 +19,16 @@ calldataloadNonConst: storage: 0x: '0x1122334400000000000000000000000000000000000000000000000000000000' - indexes: + data: !!int 0 + gas: !!int -1 + value: !!int 0 + network: + - '>=Byzantium' + result: + 095e7baea6a6c7c4c2dfeb977efac326af552d87: + storage: + 0x: '0x00' + - indexes: data: !!int 1 gas: !!int -1 value: !!int 1 @@ -28,6 +38,16 @@ calldataloadNonConst: 095e7baea6a6c7c4c2dfeb977efac326af552d87: storage: 0x: '0x2233440000000000000000000000000000000000000000000000000000000000' + - indexes: + data: !!int 0 + gas: !!int -1 + value: !!int 1 + network: + - '>=Byzantium' + result: + 095e7baea6a6c7c4c2dfeb977efac326af552d87: + storage: + 0x: '0x00' pre: 095e7baea6a6c7c4c2dfeb977efac326af552d87: balance: '' diff --git a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/codecopyNonConstFiller.yml b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/codecopyNonConstFiller.yml index e49031344..28505c4c1 100644 --- a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/codecopyNonConstFiller.yml +++ b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/codecopyNonConstFiller.yml @@ -9,7 +9,7 @@ codecopyNonConst: previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6 expect: - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 0 network: @@ -19,7 +19,7 @@ codecopyNonConst: storage: 0x: '0' - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 1 network: @@ -42,7 +42,6 @@ codecopyNonConst: transaction: data: - '' - - '0x11223344' gasLimit: - '400000' gasPrice: '1' diff --git a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/createNonConstFiller.yml b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/createNonConstFiller.yml index 6213895e1..977f93adb 100644 --- a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/createNonConstFiller.yml +++ b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/createNonConstFiller.yml @@ -9,7 +9,7 @@ createNonConst: previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6 expect: - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 0 network: @@ -19,7 +19,7 @@ createNonConst: storage: 0x: '0xd2571607e241ecf590ed94b12d87c94babe36db6' - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 1 network: @@ -42,7 +42,6 @@ createNonConst: transaction: data: - '' - - '0x11223344' gasLimit: - '400000' gasPrice: '1' diff --git a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/delegatecallNonConstFiller.yml b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/delegatecallNonConstFiller.yml index 58f602697..19bf7ece2 100644 --- a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/delegatecallNonConstFiller.yml +++ b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/delegatecallNonConstFiller.yml @@ -9,7 +9,7 @@ delegatecallNonConst: previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6 expect: - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 0 network: @@ -19,7 +19,7 @@ delegatecallNonConst: storage: 0x: '0x01' - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 1 network: @@ -42,7 +42,6 @@ delegatecallNonConst: transaction: data: - '' - - '0x11223344' gasLimit: - '400000' gasPrice: '1' diff --git a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/extcodecopyNonConstFiller.yml b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/extcodecopyNonConstFiller.yml index 976b6870f..aaf377289 100644 --- a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/extcodecopyNonConstFiller.yml +++ b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/extcodecopyNonConstFiller.yml @@ -9,7 +9,7 @@ extcodecopyNonConst: previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6 expect: - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 0 network: @@ -19,7 +19,7 @@ extcodecopyNonConst: storage: 0x: '0' - indexes: - data: !!int 1 + data: !!int -1 gas: !!int -1 value: !!int 1 network: @@ -42,7 +42,6 @@ extcodecopyNonConst: transaction: data: - '' - - '0x11223344' gasLimit: - '400000' gasPrice: '1' |