aboutsummaryrefslogtreecommitdiffstats
path: root/src/BlockchainTestsFiller/GeneralStateTests
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/BlockchainTestsFiller/GeneralStateTests
parent74a9838f3c30d7d7d5503e0c50d6a628e16965d1 (diff)
downloaddexon-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.tar
dexon-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.tar.gz
dexon-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.tar.bz2
dexon-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.tar.lz
dexon-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.tar.xz
dexon-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.tar.zst
dexon-tests-78dbc922a4a2f0e159a20107462dbadb7967f663.zip
push32 without bytes at the end
check gasUsage
Diffstat (limited to 'src/BlockchainTestsFiller/GeneralStateTests')
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/push32withoutByte_d0g0v0Filler.json77
1 files changed, 77 insertions, 0 deletions
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