aboutsummaryrefslogtreecommitdiffstats
path: root/VMTests
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2014-12-04 22:57:56 +0800
committerCJentzsch <jentzsch.software@gmail.com>2014-12-04 22:57:56 +0800
commit12cfae18e3e5250cca9af0932bd4178cf190b794 (patch)
tree18c606fac5187dfe67cc6dfe11b04048b5180031 /VMTests
parent086caf37011478ec847c7a9071f057832ad3be3e (diff)
downloadgo-tangerine-12cfae18e3e5250cca9af0932bd4178cf190b794.tar
go-tangerine-12cfae18e3e5250cca9af0932bd4178cf190b794.tar.gz
go-tangerine-12cfae18e3e5250cca9af0932bd4178cf190b794.tar.bz2
go-tangerine-12cfae18e3e5250cca9af0932bd4178cf190b794.tar.lz
go-tangerine-12cfae18e3e5250cca9af0932bd4178cf190b794.tar.xz
go-tangerine-12cfae18e3e5250cca9af0932bd4178cf190b794.tar.zst
go-tangerine-12cfae18e3e5250cca9af0932bd4178cf190b794.zip
add calldataload test
Diffstat (limited to 'VMTests')
-rw-r--r--VMTests/vmEnvironmentalInfoTest.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/VMTests/vmEnvironmentalInfoTest.json b/VMTests/vmEnvironmentalInfoTest.json
index b7d6ca7bb..9c72af0f8 100644
--- a/VMTests/vmEnvironmentalInfoTest.json
+++ b/VMTests/vmEnvironmentalInfoTest.json
@@ -551,6 +551,50 @@
}
}
},
+ "calldataloadSizeTooHigh" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa35600055",
+ "data" : "0x0123456789abcdef0000000000000000000000000000000000000000000000000024",
+ "gas" : "100000000000",
+ "gasPrice" : "1000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "99999999897",
+ "logs" : {
+ },
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa35600055",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa35600055",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
"calldatasize0" : {
"callcreates" : [
],