aboutsummaryrefslogtreecommitdiffstats
path: root/vmBlockInfoTestFiller.json
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2015-03-13 07:30:08 +0800
committerGav Wood <g@ethdev.com>2015-03-13 07:30:08 +0800
commit0de5ff34fd14777740ac816d6866f7987f955bc6 (patch)
treec0079bd2b6f1198d3eee65d56e869360863ca392 /vmBlockInfoTestFiller.json
parent66a216f7042f018512870c899e59534e5b2212f1 (diff)
parentf164593c27d1f62eff08c9265b8606dad6270dce (diff)
downloaddexon-solidity-0de5ff34fd14777740ac816d6866f7987f955bc6.tar
dexon-solidity-0de5ff34fd14777740ac816d6866f7987f955bc6.tar.gz
dexon-solidity-0de5ff34fd14777740ac816d6866f7987f955bc6.tar.bz2
dexon-solidity-0de5ff34fd14777740ac816d6866f7987f955bc6.tar.lz
dexon-solidity-0de5ff34fd14777740ac816d6866f7987f955bc6.tar.xz
dexon-solidity-0de5ff34fd14777740ac816d6866f7987f955bc6.tar.zst
dexon-solidity-0de5ff34fd14777740ac816d6866f7987f955bc6.zip
Merge pull request #1283 from CJentzsch/addTests
Add tests
Diffstat (limited to 'vmBlockInfoTestFiller.json')
-rw-r--r--vmBlockInfoTestFiller.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/vmBlockInfoTestFiller.json b/vmBlockInfoTestFiller.json
index c86a9f2c..2455b238 100644
--- a/vmBlockInfoTestFiller.json
+++ b/vmBlockInfoTestFiller.json
@@ -27,6 +27,34 @@
}
},
+ "blockhashUnderFlow": {
+ "env" : {
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
+ "currentNumber" : "1",
+ "currentGasLimit" : "1000000",
+ "currentDifficulty" : "256",
+ "currentTimestamp" : "1",
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "100000000000000000000000",
+ "nonce" : "0",
+ "code" : "(asm BLOCKHASH)",
+ "storage": {}
+ }
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000",
+ "data" : "",
+ "gasPrice" : "100000000000000",
+ "gas" : "100000"
+ }
+ },
+
"blockhashMyBlock": {
"env" : {
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",