From 346b339bc65ab3e08a2aaaa0c77baffa45dc0f3e Mon Sep 17 00:00:00 2001 From: Lane Rettig Date: Thu, 25 Oct 2018 23:10:10 +0200 Subject: [PATCH] Rebase and refill tests Since https://github.com/ewasm/hera/issues/442 was fixed --- .../initMalformedBytecodeInvalidMain.json | 27 ++----------------- ...nitMalformedBytecodeInvalidMainFromTx.json | 27 ++----------------- 2 files changed, 4 insertions(+), 50 deletions(-) diff --git a/GeneralStateTests/stEWASMTests/initMalformedBytecodeInvalidMain.json b/GeneralStateTests/stEWASMTests/initMalformedBytecodeInvalidMain.json index de1f453003b..a78e8eaef34 100644 --- a/GeneralStateTests/stEWASMTests/initMalformedBytecodeInvalidMain.json +++ b/GeneralStateTests/stEWASMTests/initMalformedBytecodeInvalidMain.json @@ -18,36 +18,13 @@ "post" : { "Byzantium" : [ { - "hash" : "0xf235f315640a9e604f3aa5d1e659557d59e8b8f3d441b25df33dd01b85023f74", + "hash" : "0xd92008e9f7ebf5eea7359e453c254b916060eb9786b5e807d252e436710e441a", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 }, - "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", - "postState" : { - "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x05000001", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x174376e7ff", - "code" : "", - "nonce" : "0x01", - "storage" : { - } - }, - "0xabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd" : { - "balance" : "0x174876e800", - "code" : "0x0061736d0100000001110360047f7f7f7f017f60027f7f00600000022b0208657468657265756d06637265617465000008657468657265756d0c73746f7261676553746f72650001030201020503010001071102066d656d6f72790200046d61696e00020a42014001077f410021004120210141c000210241e00021034180012104418002210541d10021062003200420052006200110003602002000200110012002200310010b0ba301030041000b2000000000000000000000000000000000000000000000000000000000000000000041c0000b200000000000000000000000000000000000000000000000000000000000000001004180020b510061736d01000000010a0260027f7f0060017f0002130108657468657265756d0666696e6973680000030201010503010001071102066d656d6f72790200046d61696e00010a0a0108004100410010000b", - "nonce" : "0x00", - "storage" : { - } - } - } + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ] }, diff --git a/GeneralStateTests/stEWASMTests/initMalformedBytecodeInvalidMainFromTx.json b/GeneralStateTests/stEWASMTests/initMalformedBytecodeInvalidMainFromTx.json index 89c7952c55e..d9fb8d0746a 100644 --- a/GeneralStateTests/stEWASMTests/initMalformedBytecodeInvalidMainFromTx.json +++ b/GeneralStateTests/stEWASMTests/initMalformedBytecodeInvalidMainFromTx.json @@ -18,36 +18,13 @@ "post" : { "Byzantium" : [ { - "hash" : "0xe26615f8ea7db8cb51f9cf5b10d64c2bd5e8d34cae7b800be0c6109ee45c349a", + "hash" : "0x60f7870ae7c1fb1176a96382cbfe1c1dfc83cb08081728a7396e901a70832a36", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 }, - "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", - "postState" : { - "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0xe0cc", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "balance" : "0x00", - "code" : "", - "nonce" : "0x01", - "storage" : { - } - }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x1748760734", - "code" : "", - "nonce" : "0x01", - "storage" : { - } - } - } + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ] },