Skip to content

Commit 12cfae1

Browse files
committed
add calldataload test
1 parent 086caf3 commit 12cfae1

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

VMTests/vmEnvironmentalInfoTest.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,50 @@
551551
}
552552
}
553553
},
554+
"calldataloadSizeTooHigh" : {
555+
"callcreates" : [
556+
],
557+
"env" : {
558+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
559+
"currentDifficulty" : "256",
560+
"currentGasLimit" : "1000000",
561+
"currentNumber" : "0",
562+
"currentTimestamp" : "1",
563+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
564+
},
565+
"exec" : {
566+
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
567+
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
568+
"code" : "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa35600055",
569+
"data" : "0x0123456789abcdef0000000000000000000000000000000000000000000000000024",
570+
"gas" : "100000000000",
571+
"gasPrice" : "1000000000",
572+
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
573+
"value" : "1000000000000000000"
574+
},
575+
"gas" : "99999999897",
576+
"logs" : {
577+
},
578+
"out" : "0x",
579+
"post" : {
580+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
581+
"balance" : "1000000000000000000",
582+
"code" : "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa35600055",
583+
"nonce" : "0",
584+
"storage" : {
585+
}
586+
}
587+
},
588+
"pre" : {
589+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
590+
"balance" : "1000000000000000000",
591+
"code" : "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa35600055",
592+
"nonce" : "0",
593+
"storage" : {
594+
}
595+
}
596+
}
597+
},
554598
"calldatasize0" : {
555599
"callcreates" : [
556600
],

0 commit comments

Comments
 (0)