aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stSpecialTest
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-09-14 01:43:07 +0800
committerDimitry <dimitry@ethereum.org>2018-09-14 01:43:07 +0800
commit78dbc922a4a2f0e159a20107462dbadb7967f663 (patch)
tree2e557375f06a138129bf6d0f33ea07fb12bcaa72 /src/GeneralStateTestsFiller/stSpecialTest
parent74a9838f3c30d7d7d5503e0c50d6a628e16965d1 (diff)
downloadtangerine-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.tar
tangerine-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.tar.gz
tangerine-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.tar.bz2
tangerine-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.tar.lz
tangerine-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.tar.xz
tangerine-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.tar.zst
tangerine-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.zip
push32 without bytes at the end
check gasUsage
Diffstat (limited to 'src/GeneralStateTestsFiller/stSpecialTest')
-rw-r--r--src/GeneralStateTestsFiller/stSpecialTest/push32withoutByteFiller.json62
1 files changed, 62 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stSpecialTest/push32withoutByteFiller.json b/src/GeneralStateTestsFiller/stSpecialTest/push32withoutByteFiller.json
new file mode 100644
index 000000000..62284f0e5
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stSpecialTest/push32withoutByteFiller.json
@@ -0,0 +1,62 @@
+{
+ "push32withoutByte" : {
+ "_info" : {
+ "comment" : "push expect 32 bytes. but we have only 10 byte"
+ },
+ "env" : {
+ "currentCoinbase" : "68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "3141592",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [">=Constantinople"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "999999999999978997",
+ "nonce" : "2"
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "0dc02922f33e45537411b9f92a1dcc9750ba9932" : {
+ "balance" : "0",
+ "code" : "0x7f11223344556677889910",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000",
+ "code" : "",
+ "nonce" : "1",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "500000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "1",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0dc02922f33e45537411b9f92a1dcc9750ba9932",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+}