aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2015-03-14 03:13:18 +0800
committerGav Wood <g@ethdev.com>2015-03-14 03:13:18 +0800
commit6c46b4936669c0fa22909c71b913506e21f5dcd6 (patch)
tree2d10eb2484fa4c9714832befacff569449bc6395
parent92b4dea798f84badc5175f0533c18f7d05e83f2b (diff)
parent1d93fc79f4af8bcd499bd75a2e525112ef276404 (diff)
downloaddexon-solidity-6c46b4936669c0fa22909c71b913506e21f5dcd6.tar
dexon-solidity-6c46b4936669c0fa22909c71b913506e21f5dcd6.tar.gz
dexon-solidity-6c46b4936669c0fa22909c71b913506e21f5dcd6.tar.bz2
dexon-solidity-6c46b4936669c0fa22909c71b913506e21f5dcd6.tar.lz
dexon-solidity-6c46b4936669c0fa22909c71b913506e21f5dcd6.tar.xz
dexon-solidity-6c46b4936669c0fa22909c71b913506e21f5dcd6.tar.zst
dexon-solidity-6c46b4936669c0fa22909c71b913506e21f5dcd6.zip
Merge pull request #1309 from CJentzsch/fixCalldataload
Fix calldataload
-rw-r--r--vmEnvironmentalInfoTestFiller.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/vmEnvironmentalInfoTestFiller.json b/vmEnvironmentalInfoTestFiller.json
index d9e1ef65..951e65c3 100644
--- a/vmEnvironmentalInfoTestFiller.json
+++ b/vmEnvironmentalInfoTestFiller.json
@@ -367,6 +367,34 @@
}
},
+ "calldataload_BigOffset": {
+ "env" : {
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
+ "currentNumber" : "0",
+ "currentGasLimit" : "1000000",
+ "currentDifficulty" : "256",
+ "currentTimestamp" : "1",
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "100000000000000000000000",
+ "nonce" : "0",
+ "code" : "{ [[ 0 ]] (CALLDATALOAD 0x4200000000000000000000000000000000000000000000000000000000000000)}",
+ "storage": {}
+ }
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000",
+ "data" : "0x4200000000000000000000000000000000000000000000000000000000000000",
+ "gasPrice" : "1000000000",
+ "gas" : "100000000000"
+ }
+ },
+
"calldataload1": {
"env" : {
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",