From 78dbc922a4a2f0e159a20107462dbadb7967f663 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Thu, 13 Sep 2018 20:43:07 +0300 Subject: push32 without bytes at the end check gasUsage --- .../push32withoutByte_d0g0v0Filler.json | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/push32withoutByte_d0g0v0Filler.json (limited to 'src/BlockchainTestsFiller/GeneralStateTests') diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/push32withoutByte_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/push32withoutByte_d0g0v0Filler.json new file mode 100644 index 000000000..aca360f59 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/push32withoutByte_d0g0v0Filler.json @@ -0,0 +1,77 @@ +{ + "push32withoutByte_d0g0v0" : { + "_info" : { + "comment" : "push expect 32 bytes. but we have only 10 byte" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x2fefd8", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x07a120", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0x932e278b5beb5e3451006c170ac478c8e04566268f0aaa1be1f2ccd95f3c2ff3", + "s" : "0x415b798d20c83f196f18ea39ab8e81371254b309915bf33cd361a943c04e7250", + "to" : "0x0dc02922f33e45537411b9f92a1dcc9750ba9932", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a763adf5", + "nonce" : "0x02" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x2fefd8", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0dc02922f33e45537411b9f92a1dcc9750ba9932" : { + "balance" : "0x00", + "code" : "0x7f11223344556677889910", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file -- cgit v1.2.3