aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stArgsZeroOneBalance/iszeroNonConstFiller.yml
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-01-16 02:15:20 +0800
committerDimitry <dimitry@ethereum.org>2018-01-16 02:15:20 +0800
commit644a81e028e8d0532c44e578320d475b52bb286e (patch)
treee1d7801f11a930e176f3dda47223a5eebe648235 /src/GeneralStateTestsFiller/stArgsZeroOneBalance/iszeroNonConstFiller.yml
parent23306818ca1452596c584c78c58e0ac91fa73150 (diff)
downloaddexon-tests-644a81e028e8d0532c44e578320d475b52bb286e.tar
dexon-tests-644a81e028e8d0532c44e578320d475b52bb286e.tar.gz
dexon-tests-644a81e028e8d0532c44e578320d475b52bb286e.tar.bz2
dexon-tests-644a81e028e8d0532c44e578320d475b52bb286e.tar.lz
dexon-tests-644a81e028e8d0532c44e578320d475b52bb286e.tar.xz
dexon-tests-644a81e028e8d0532c44e578320d475b52bb286e.tar.zst
dexon-tests-644a81e028e8d0532c44e578320d475b52bb286e.zip
stArgsZeroOneBalance tests
Diffstat (limited to 'src/GeneralStateTestsFiller/stArgsZeroOneBalance/iszeroNonConstFiller.yml')
-rw-r--r--src/GeneralStateTestsFiller/stArgsZeroOneBalance/iszeroNonConstFiller.yml53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/iszeroNonConstFiller.yml b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/iszeroNonConstFiller.yml
new file mode 100644
index 000000000..bfc808ed3
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/iszeroNonConstFiller.yml
@@ -0,0 +1,53 @@
+---
+iszeroNonConst:
+ env:
+ currentCoinbase: 2adc25665018aa1fe0e6bc666dac8fc2697ff9ba
+ currentDifficulty: '0x20000'
+ currentGasLimit: '1000000'
+ currentNumber: '1'
+ currentTimestamp: '1000'
+ previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6
+ expect:
+ - indexes:
+ data: !!int -1
+ gas: !!int -1
+ value: !!int 0
+ network:
+ - ALL
+ result:
+ 095e7baea6a6c7c4c2dfeb977efac326af552d87:
+ storage:
+ 0x: '0x01'
+ - indexes:
+ data: !!int -1
+ gas: !!int -1
+ value: !!int 1
+ network:
+ - ALL
+ result:
+ 095e7baea6a6c7c4c2dfeb977efac326af552d87:
+ storage:
+ 0x: '0x00'
+ pre:
+ 095e7baea6a6c7c4c2dfeb977efac326af552d87:
+ balance: ''
+ code: '{ [[ 0 ]](ISZERO (BALANCE 0x095e7baea6a6c7c4c2dfeb977efac326af552d87)) }'
+ nonce: '0'
+ storage: {}
+ a94f5374fce5edbc8e2a8697c15331677e6ebf0b:
+ balance: '1000000000000000000'
+ code: '0x'
+ nonce: '0'
+ storage: {}
+ transaction:
+ data:
+ - ''
+ gasLimit:
+ - '400000'
+ gasPrice: '1'
+ nonce: '0'
+ secretKey: 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8
+ to: 095e7baea6a6c7c4c2dfeb977efac326af552d87
+ value:
+ - '0'
+ - '1'