diff options
author | winsvega <winsvega@mail.ru> | 2019-01-08 08:03:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-08 08:03:42 +0800 |
commit | 7d66cbfff1e6561d1046e45df8b7918d186b136f (patch) | |
tree | 1410e850f4add3f27942ca98313f00f09d0ce24c /src | |
parent | 334b5a394827403bd1348fd44cab945436053601 (diff) | |
parent | e212807787fc81932f4c116bf85da87d8ae08884 (diff) | |
download | dexon-tests-7d66cbfff1e6561d1046e45df8b7918d186b136f.tar dexon-tests-7d66cbfff1e6561d1046e45df8b7918d186b136f.tar.gz dexon-tests-7d66cbfff1e6561d1046e45df8b7918d186b136f.tar.bz2 dexon-tests-7d66cbfff1e6561d1046e45df8b7918d186b136f.tar.lz dexon-tests-7d66cbfff1e6561d1046e45df8b7918d186b136f.tar.xz dexon-tests-7d66cbfff1e6561d1046e45df8b7918d186b136f.tar.zst dexon-tests-7d66cbfff1e6561d1046e45df8b7918d186b136f.zip |
Merge pull request #580 from ethereum/precompiled
Precompiled
Diffstat (limited to 'src')
22 files changed, 4625 insertions, 388 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_d0g0v0Filler.json index 89d322511..b13cbac94 100644 --- a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_d0g0v0Filler.json +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_d0g0v0Filler.json @@ -10,12 +10,12 @@ }, "transactions" : [ { - "data" : "0x", - "gasLimit" : "0xea60", + "data" : "0x0000000000000000000000001000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", "gasPrice" : "0x01", "nonce" : "0x01", - "r" : "0x4b7f2ec87c9986426dfec45792729527b2052abc8f82289b8ebfc1e871c7526f", - "s" : "0x2e135376de0973939263897a483d7f248660f75681db10f1526b4da9445d6bcc", + "r" : "0xd60117901047bb831ba78f9eb7f963b823f7de347d049667c5eb71977fc8db24", + "s" : "0x5a67e59ee4d6290dbc00fcb9b8ba2db2d9015041788b0f76a3a11a4c473c66b0", "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "v" : "0x1b", "value" : "0x00" @@ -30,28 +30,20 @@ "network" : "EIP158", "result" : { "0x0000000000000000000000000000000000000001" : { - "balance" : "0x00" }, "0x0000000000000000000000000000000000000002" : { - "balance" : "0x00" }, "0x0000000000000000000000000000000000000003" : { - "balance" : "0x00" }, "0x0000000000000000000000000000000000000004" : { - "balance" : "0x00" }, "0x0000000000000000000000000000000000000005" : { - "balance" : "0x00" }, "0x0000000000000000000000000000000000000006" : { - "balance" : "0x00" }, "0x0000000000000000000000000000000000000007" : { - "balance" : "0x00" }, "0x0000000000000000000000000000000000000008" : { - "balance" : "0x00" } } }, @@ -59,28 +51,28 @@ "network" : "Byzantium", "result" : { "0x0000000000000000000000000000000000000001" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000002" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000003" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000004" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000005" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000006" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000007" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000008" : { - "balance" : "0x00" + "nonce" : "0x00" } } }, @@ -88,28 +80,28 @@ "network" : "Constantinople", "result" : { "0x0000000000000000000000000000000000000001" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000002" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000003" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000004" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000005" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000006" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000007" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000008" : { - "balance" : "0x00" + "nonce" : "0x00" } } } @@ -188,6 +180,34 @@ "storage" : { } }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a7640000", "code" : "", @@ -197,7 +217,7 @@ }, "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x00", - "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "code" : "0x600060006000600060006000355af2", "nonce" : "0x00", "storage" : { } diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouchCC_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_d1g0v0Filler.json index b63fa4d81..8706c5dd1 100644 --- a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouchCC_d0g0v0Filler.json +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_d1g0v0Filler.json @@ -1,5 +1,5 @@ { - "RevertPrecompiledTouchCC_d0g0v0" : { + "RevertPrecompiledTouch_d1g0v0" : { "blocks" : [ { "blockHeaderPremine" : { @@ -10,14 +10,14 @@ }, "transactions" : [ { - "data" : "0x", - "gasLimit" : "0xea60", + "data" : "0x0000000000000000000000002000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", "gasPrice" : "0x01", "nonce" : "0x01", - "r" : "0x4b7f2ec87c9986426dfec45792729527b2052abc8f82289b8ebfc1e871c7526f", - "s" : "0x2e135376de0973939263897a483d7f248660f75681db10f1526b4da9445d6bcc", + "r" : "0x45616d952344a80409aa67186c349f5dd85be3c18e2b58f529c8b3f5d830b5a5", + "s" : "0x1327226377f5d0cbae871365103262bca3fc2bfc0f1edea7a04eb8d8212e72a1", "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "0x1b", + "v" : "0x1c", "value" : "0x00" } ], @@ -30,28 +30,28 @@ "network" : "EIP158", "result" : { "0x0000000000000000000000000000000000000001" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000002" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000003" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000004" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000005" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000006" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000007" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000008" : { - "balance" : "0x00" + "nonce" : "0x00" } } }, @@ -59,28 +59,28 @@ "network" : "Byzantium", "result" : { "0x0000000000000000000000000000000000000001" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000002" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000003" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000004" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000005" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000006" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000007" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000008" : { - "balance" : "0x00" + "nonce" : "0x00" } } }, @@ -88,28 +88,28 @@ "network" : "Constantinople", "result" : { "0x0000000000000000000000000000000000000001" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000002" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000003" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000004" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000005" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000006" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000007" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000008" : { - "balance" : "0x00" + "nonce" : "0x00" } } } @@ -188,6 +188,34 @@ "storage" : { } }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a7640000", "code" : "", @@ -197,7 +225,7 @@ }, "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x00", - "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "code" : "0x600060006000600060006000355af2", "nonce" : "0x00", "storage" : { } diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouchDC_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_d2g0v0Filler.json index d220848de..a8601b3f6 100644 --- a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouchDC_d0g0v0Filler.json +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_d2g0v0Filler.json @@ -1,5 +1,5 @@ { - "RevertPrecompiledTouchDC_d0g0v0" : { + "RevertPrecompiledTouch_d2g0v0" : { "blocks" : [ { "blockHeaderPremine" : { @@ -10,14 +10,14 @@ }, "transactions" : [ { - "data" : "0x", - "gasLimit" : "0xea60", + "data" : "0x0000000000000000000000003000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", "gasPrice" : "0x01", "nonce" : "0x01", - "r" : "0x4b7f2ec87c9986426dfec45792729527b2052abc8f82289b8ebfc1e871c7526f", - "s" : "0x2e135376de0973939263897a483d7f248660f75681db10f1526b4da9445d6bcc", + "r" : "0x0d9c5787434e34ed289c6f20c7d1f7eaeb84b0747b3ae39177a3bb29175d8534", + "s" : "0x05943fc7eeeafbc93c96bb81956b51bbc58af69bcc7a5c1feb6d2c217a281fca", "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "v" : "0x1b", + "v" : "0x1c", "value" : "0x00" } ], @@ -30,28 +30,28 @@ "network" : "EIP158", "result" : { "0x0000000000000000000000000000000000000001" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000002" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000003" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000004" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000005" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000006" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000007" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000008" : { - "balance" : "0x00" + "nonce" : "0x00" } } }, @@ -59,28 +59,28 @@ "network" : "Byzantium", "result" : { "0x0000000000000000000000000000000000000001" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000002" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000003" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000004" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000005" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000006" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000007" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000008" : { - "balance" : "0x00" + "nonce" : "0x00" } } }, @@ -88,28 +88,28 @@ "network" : "Constantinople", "result" : { "0x0000000000000000000000000000000000000001" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000002" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000003" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000004" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000005" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000006" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000007" : { - "balance" : "0x00" + "nonce" : "0x00" }, "0x0000000000000000000000000000000000000008" : { - "balance" : "0x00" + "nonce" : "0x00" } } } @@ -188,6 +188,34 @@ "storage" : { } }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a7640000", "code" : "", @@ -197,7 +225,7 @@ }, "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x00", - "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "code" : "0x600060006000600060006000355af2", "nonce" : "0x00", "storage" : { } diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_d3g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_d3g0v0Filler.json new file mode 100644 index 000000000..9c8a70ca6 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_d3g0v0Filler.json @@ -0,0 +1,236 @@ +{ + "RevertPrecompiledTouch_d3g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x3d37ef", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000004000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0x7100ba2118eea0e20b25e4f6ea7d73c09cbe91fed9eaf1f31df30dc2d45b007e", + "s" : "0x22f1a35d2ad3c880ce8101f3ebb0a7601612c185e834f0dc1997464fef75cd46", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "EIP158", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x00" + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x00" + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x00" + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x00" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x3d37ef", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af2", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_nonce_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_nonce_d0g0v0Filler.json new file mode 100644 index 000000000..3260c3337 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_nonce_d0g0v0Filler.json @@ -0,0 +1,260 @@ +{ + "RevertPrecompiledTouch_nonce_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x3d37ef", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000001000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0xd60117901047bb831ba78f9eb7f963b823f7de347d049667c5eb71977fc8db24", + "s" : "0x5a67e59ee4d6290dbc00fcb9b8ba2db2d9015041788b0f76a3a11a4c473c66b0", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "EIP158", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "nonce" : "0x01" + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "nonce" : "0x01" + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x3d37ef", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af2", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_nonce_d1g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_nonce_d1g0v0Filler.json new file mode 100644 index 000000000..18a46399e --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_nonce_d1g0v0Filler.json @@ -0,0 +1,260 @@ +{ + "RevertPrecompiledTouch_nonce_d1g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x3d37ef", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000002000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0x45616d952344a80409aa67186c349f5dd85be3c18e2b58f529c8b3f5d830b5a5", + "s" : "0x1327226377f5d0cbae871365103262bca3fc2bfc0f1edea7a04eb8d8212e72a1", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "EIP158", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "nonce" : "0x01" + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "nonce" : "0x01" + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x3d37ef", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af2", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_nonce_d2g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_nonce_d2g0v0Filler.json new file mode 100644 index 000000000..5b56d0a6d --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_nonce_d2g0v0Filler.json @@ -0,0 +1,260 @@ +{ + "RevertPrecompiledTouch_nonce_d2g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x3d37ef", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000003000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0x0d9c5787434e34ed289c6f20c7d1f7eaeb84b0747b3ae39177a3bb29175d8534", + "s" : "0x05943fc7eeeafbc93c96bb81956b51bbc58af69bcc7a5c1feb6d2c217a281fca", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "EIP158", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "nonce" : "0x01" + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "nonce" : "0x01" + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x3d37ef", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af2", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_nonce_d3g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_nonce_d3g0v0Filler.json new file mode 100644 index 000000000..c138bf06d --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_nonce_d3g0v0Filler.json @@ -0,0 +1,260 @@ +{ + "RevertPrecompiledTouch_nonce_d3g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x3d37ef", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000004000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0x7100ba2118eea0e20b25e4f6ea7d73c09cbe91fed9eaf1f31df30dc2d45b007e", + "s" : "0x22f1a35d2ad3c880ce8101f3ebb0a7601612c185e834f0dc1997464fef75cd46", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "EIP158", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "nonce" : "0x01" + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "nonce" : "0x01" + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x3d37ef", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af2", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_noncestorage_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_noncestorage_d0g0v0Filler.json new file mode 100644 index 000000000..df9ede119 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_noncestorage_d0g0v0Filler.json @@ -0,0 +1,316 @@ +{ + "RevertPrecompiledTouch_noncestorage_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x3d37ef", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000001000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0xd60117901047bb831ba78f9eb7f963b823f7de347d049667c5eb71977fc8db24", + "s" : "0x5a67e59ee4d6290dbc00fcb9b8ba2db2d9015041788b0f76a3a11a4c473c66b0", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "EIP158", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x3d37ef", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af2", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_noncestorage_d1g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_noncestorage_d1g0v0Filler.json new file mode 100644 index 000000000..6f58bec65 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_noncestorage_d1g0v0Filler.json @@ -0,0 +1,316 @@ +{ + "RevertPrecompiledTouch_noncestorage_d1g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x3d37ef", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000002000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0x45616d952344a80409aa67186c349f5dd85be3c18e2b58f529c8b3f5d830b5a5", + "s" : "0x1327226377f5d0cbae871365103262bca3fc2bfc0f1edea7a04eb8d8212e72a1", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "EIP158", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x3d37ef", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af2", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_noncestorage_d2g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_noncestorage_d2g0v0Filler.json new file mode 100644 index 000000000..269cf74d0 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_noncestorage_d2g0v0Filler.json @@ -0,0 +1,316 @@ +{ + "RevertPrecompiledTouch_noncestorage_d2g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x3d37ef", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000003000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0x0d9c5787434e34ed289c6f20c7d1f7eaeb84b0747b3ae39177a3bb29175d8534", + "s" : "0x05943fc7eeeafbc93c96bb81956b51bbc58af69bcc7a5c1feb6d2c217a281fca", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "EIP158", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x3d37ef", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af2", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_noncestorage_d3g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_noncestorage_d3g0v0Filler.json new file mode 100644 index 000000000..337cbda2b --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_noncestorage_d3g0v0Filler.json @@ -0,0 +1,316 @@ +{ + "RevertPrecompiledTouch_noncestorage_d3g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x3d37ef", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000004000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0x7100ba2118eea0e20b25e4f6ea7d73c09cbe91fed9eaf1f31df30dc2d45b007e", + "s" : "0x22f1a35d2ad3c880ce8101f3ebb0a7601612c185e834f0dc1997464fef75cd46", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "EIP158", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x3d37ef", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af2", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_storage_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_storage_d0g0v0Filler.json new file mode 100644 index 000000000..a2ac75b5c --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_storage_d0g0v0Filler.json @@ -0,0 +1,268 @@ +{ + "RevertPrecompiledTouch_storage_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x3d37ef", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000001000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0xd60117901047bb831ba78f9eb7f963b823f7de347d049667c5eb71977fc8db24", + "s" : "0x5a67e59ee4d6290dbc00fcb9b8ba2db2d9015041788b0f76a3a11a4c473c66b0", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "EIP158", + "result" : { + "0x0000000000000000000000000000000000000001" : { + }, + "0x0000000000000000000000000000000000000002" : { + }, + "0x0000000000000000000000000000000000000003" : { + }, + "0x0000000000000000000000000000000000000004" : { + }, + "0x0000000000000000000000000000000000000005" : { + }, + "0x0000000000000000000000000000000000000006" : { + }, + "0x0000000000000000000000000000000000000007" : { + }, + "0x0000000000000000000000000000000000000008" : { + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x3d37ef", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af2", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_storage_d1g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_storage_d1g0v0Filler.json new file mode 100644 index 000000000..86e4a25fa --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_storage_d1g0v0Filler.json @@ -0,0 +1,292 @@ +{ + "RevertPrecompiledTouch_storage_d1g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x3d37ef", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000002000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0x45616d952344a80409aa67186c349f5dd85be3c18e2b58f529c8b3f5d830b5a5", + "s" : "0x1327226377f5d0cbae871365103262bca3fc2bfc0f1edea7a04eb8d8212e72a1", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "EIP158", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x3d37ef", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af2", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_storage_d2g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_storage_d2g0v0Filler.json new file mode 100644 index 000000000..8517b0251 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_storage_d2g0v0Filler.json @@ -0,0 +1,292 @@ +{ + "RevertPrecompiledTouch_storage_d2g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x3d37ef", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000003000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0x0d9c5787434e34ed289c6f20c7d1f7eaeb84b0747b3ae39177a3bb29175d8534", + "s" : "0x05943fc7eeeafbc93c96bb81956b51bbc58af69bcc7a5c1feb6d2c217a281fca", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "EIP158", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x3d37ef", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af2", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_storage_d3g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_storage_d3g0v0Filler.json new file mode 100644 index 000000000..481caaa30 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stRevertTest/RevertPrecompiledTouch_storage_d3g0v0Filler.json @@ -0,0 +1,292 @@ +{ + "RevertPrecompiledTouch_storage_d3g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x3d37ef", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000004000000000000000000000000000000000000000", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0x7100ba2118eea0e20b25e4f6ea7d73c09cbe91fed9eaf1f31df30dc2d45b007e", + "s" : "0x22f1a35d2ad3c880ce8101f3ebb0a7601612c185e834f0dc1997464fef75cd46", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "EIP158", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x3d37ef", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f25060006000600060006000600261c350f25060006000600060006000600361c350f25060006000600060006000600461c350f25060006000600060006000600561c350f25060006000600060006000600661c350f25060006000600060006000600761c350f25060006000600060006000600861c350f2505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600161c350fa506000600060006000600261c350fa506000600060006000600361c350fa506000600060006000600461c350fa506000600060006000600561c350fa506000600060006000600661c350fa506000600060006000600761c350fa506000600060006000600861c350fa505a6001555a6002555a600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af2", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchCCFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchCCFiller.json deleted file mode 100644 index bbda8089e..000000000 --- a/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchCCFiller.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "RevertPrecompiledTouchCC" : { - "env" : { - "currentCoinbase" : "68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "4012015", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [">=EIP158"], - "result" : { - "0000000000000000000000000000000000000001" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000002" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000003" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000004" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000005" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000006" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000007" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000008" : { - "balance" : "0" - } - } - } - ], - "pre" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{ (CALLCODE 50000 1 0 0 0 0 0) (CALLCODE 50000 2 0 0 0 0 0) (CALLCODE 50000 3 0 0 0 0 0) (CALLCODE 50000 4 0 0 0 0 0) (CALLCODE 50000 5 0 0 0 0 0) (CALLCODE 50000 6 0 0 0 0 0) (CALLCODE 50000 7 0 0 0 0 0) (CALLCODE 50000 8 0 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", - "nonce" : "0", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000000000000000", - "code" : "", - "nonce" : "1", - "storage" : { - } - }, - "0000000000000000000000000000000000000001" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000002" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000003" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000004" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000005" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000006" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000007" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000008" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "" - ], - "gasLimit" : [ - "60000" - ], - "gasPrice" : "1", - "nonce" : "1", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : [ - "0" - ] - } - } -} diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchDCFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchDCFiller.json deleted file mode 100644 index 41387e3cc..000000000 --- a/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchDCFiller.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "RevertPrecompiledTouchDC" : { - "env" : { - "currentCoinbase" : "68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da", - "currentDifficulty" : "0x020000", - "currentGasLimit" : "4012015", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [">=EIP158"], - "result" : { - "0000000000000000000000000000000000000001" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000002" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000003" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000004" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000005" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000006" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000007" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000008" : { - "balance" : "0" - } - } - } - ], - "pre" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{ (DELEGATECALL 50000 1 0 0 0 0) (DELEGATECALL 50000 2 0 0 0 0) (DELEGATECALL 50000 3 0 0 0 0) (DELEGATECALL 50000 4 0 0 0 0) (DELEGATECALL 50000 5 0 0 0 0) (DELEGATECALL 50000 6 0 0 0 0) (DELEGATECALL 50000 7 0 0 0 0) (DELEGATECALL 50000 8 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", - "nonce" : "0", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000000000000000", - "code" : "", - "nonce" : "1", - "storage" : { - } - }, - "0000000000000000000000000000000000000001" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000002" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000003" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000004" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000005" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000006" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000007" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "0000000000000000000000000000000000000008" : { - "balance" : "0", - "code" : "", - "nonce" : "0", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "" - ], - "gasLimit" : [ - "60000" - ], - "gasPrice" : "1", - "nonce" : "1", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : [ - "0" - ] - } - } -} diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchFiller.json index c0fd0234a..b577c3734 100644 --- a/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchFiller.json +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchFiller.json @@ -11,47 +11,133 @@ "expect" : [ { "indexes" : { + "data" : 0, + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP158"], + "result" : { + "0000000000000000000000000000000000000001" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000002" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000003" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000004" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000005" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000006" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000007" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000008" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : [1,2,3], + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP158"], + "result" : { + "0000000000000000000000000000000000000001" : { + "nonce" : "0" + }, + "0000000000000000000000000000000000000002" : { + "nonce" : "0" }, + "0000000000000000000000000000000000000003" : { + "nonce" : "0" }, + "0000000000000000000000000000000000000004" : { + "nonce" : "0" }, + "0000000000000000000000000000000000000005" : { + "nonce" : "0" }, + "0000000000000000000000000000000000000006" : { + "nonce" : "0" }, + "0000000000000000000000000000000000000007" : { + "nonce" : "0" }, + "0000000000000000000000000000000000000008" : { + "nonce" : "0" } + } + }, + { + "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, - "network" : [">=EIP158"], + "network" : [">=Byzantium"], "result" : { - "0000000000000000000000000000000000000001" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000002" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000003" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000004" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000005" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000006" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000007" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000008" : { - "balance" : "0" - } + "0000000000000000000000000000000000000001" : { + "nonce" : "0" + }, + "0000000000000000000000000000000000000002" : { + "nonce" : "0" }, + "0000000000000000000000000000000000000003" : { + "nonce" : "0" }, + "0000000000000000000000000000000000000004" : { + "nonce" : "0" }, + "0000000000000000000000000000000000000005" : { + "nonce" : "0" }, + "0000000000000000000000000000000000000006" : { + "nonce" : "0" }, + "0000000000000000000000000000000000000007" : { + "nonce" : "0" }, + "0000000000000000000000000000000000000008" : { + "nonce" : "0" } } } ], "pre" : { "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0", + "code" : "{ (CALLCODE (GAS) (CALLDATALOAD 0) 0 0 0 0 0) }", + "nonce" : "0", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "//comment" : "CALL precompiles and OOG", + "balance" : "0", "code" : "{ (CALL 50000 1 0 0 0 0 0) (CALL 50000 2 0 0 0 0 0) (CALL 50000 3 0 0 0 0 0) (CALL 50000 4 0 0 0 0 0) (CALL 50000 5 0 0 0 0 0) (CALL 50000 6 0 0 0 0 0) (CALL 50000 7 0 0 0 0 0) (CALL 50000 8 0 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", "nonce" : "0", "storage" : { } }, + "2000000000000000000000000000000000000000" : { + "//comment" : "DELEGATECALL precompiles and OOG", + "balance" : "0", + "code" : "{ (DELEGATECALL 50000 1 0 0 0 0) (DELEGATECALL 50000 2 0 0 0 0) (DELEGATECALL 50000 3 0 0 0 0) (DELEGATECALL 50000 4 0 0 0 0) (DELEGATECALL 50000 5 0 0 0 0) (DELEGATECALL 50000 6 0 0 0 0) (DELEGATECALL 50000 7 0 0 0 0) (DELEGATECALL 50000 8 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "3000000000000000000000000000000000000000" : { + "//comment" : "CALLCODE precompiles and OOG", + "balance" : "0", + "code" : "{ (CALLCODE 50000 1 0 0 0 0 0) (CALLCODE 50000 2 0 0 0 0 0) (CALLCODE 50000 3 0 0 0 0 0) (CALLCODE 50000 4 0 0 0 0 0) (CALLCODE 50000 5 0 0 0 0 0) (CALLCODE 50000 6 0 0 0 0 0) (CALLCODE 50000 7 0 0 0 0 0) (CALLCODE 50000 8 0 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "4000000000000000000000000000000000000000" : { + "//comment" : "STATICCALL precompiles and OOG", + "balance" : "0", + "code" : "{ (STATICCALL 50000 1 0 0 0 0) (STATICCALL 50000 2 0 0 0 0) (STATICCALL 50000 3 0 0 0 0) (STATICCALL 50000 4 0 0 0 0) (STATICCALL 50000 5 0 0 0 0) (STATICCALL 50000 6 0 0 0 0) (STATICCALL 50000 7 0 0 0 0) (STATICCALL 50000 8 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "1000000000000000000", "code" : "", @@ -118,10 +204,13 @@ }, "transaction" : { "data" : [ - "" + "0x0000000000000000000000001000000000000000000000000000000000000000", + "0x0000000000000000000000002000000000000000000000000000000000000000", + "0x0000000000000000000000003000000000000000000000000000000000000000", + "0x0000000000000000000000004000000000000000000000000000000000000000" ], "gasLimit" : [ - "60000" + "100000" ], "gasPrice" : "1", "nonce" : "1", diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouch_nonceFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouch_nonceFiller.json new file mode 100644 index 000000000..3796ab7fc --- /dev/null +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouch_nonceFiller.json @@ -0,0 +1,178 @@ +{ + "RevertPrecompiledTouch_nonce" : { + "env" : { + "currentCoinbase" : "68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "4012015", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=EIP158"], + "result" : { + "0000000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "1" + }, + "0000000000000000000000000000000000000002" : { + "balance" : "0", + "nonce" : "1" + }, + "0000000000000000000000000000000000000003" : { + "balance" : "0", + "nonce" : "1" + }, + "0000000000000000000000000000000000000004" : { + "balance" : "0", + "nonce" : "1" + }, + "0000000000000000000000000000000000000005" : { + "balance" : "0", + "nonce" : "1" + }, + "0000000000000000000000000000000000000006" : { + "balance" : "0", + "nonce" : "1" + }, + "0000000000000000000000000000000000000007" : { + "balance" : "0", + "nonce" : "1" + }, + "0000000000000000000000000000000000000008" : { + "balance" : "0", + "nonce" : "1" + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ (CALLCODE (GAS) (CALLDATALOAD 0) 0 0 0 0 0) }", + "nonce" : "0", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "//comment" : "CALL precompiles and OOG", + "balance" : "0", + "code" : "{ (CALL 50000 1 0 0 0 0 0) (CALL 50000 2 0 0 0 0 0) (CALL 50000 3 0 0 0 0 0) (CALL 50000 4 0 0 0 0 0) (CALL 50000 5 0 0 0 0 0) (CALL 50000 6 0 0 0 0 0) (CALL 50000 7 0 0 0 0 0) (CALL 50000 8 0 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "2000000000000000000000000000000000000000" : { + "//comment" : "DELEGATECALL precompiles and OOG", + "balance" : "0", + "code" : "{ (DELEGATECALL 50000 1 0 0 0 0) (DELEGATECALL 50000 2 0 0 0 0) (DELEGATECALL 50000 3 0 0 0 0) (DELEGATECALL 50000 4 0 0 0 0) (DELEGATECALL 50000 5 0 0 0 0) (DELEGATECALL 50000 6 0 0 0 0) (DELEGATECALL 50000 7 0 0 0 0) (DELEGATECALL 50000 8 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "3000000000000000000000000000000000000000" : { + "//comment" : "CALLCODE precompiles and OOG", + "balance" : "0", + "code" : "{ (CALLCODE 50000 1 0 0 0 0 0) (CALLCODE 50000 2 0 0 0 0 0) (CALLCODE 50000 3 0 0 0 0 0) (CALLCODE 50000 4 0 0 0 0 0) (CALLCODE 50000 5 0 0 0 0 0) (CALLCODE 50000 6 0 0 0 0 0) (CALLCODE 50000 7 0 0 0 0 0) (CALLCODE 50000 8 0 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "4000000000000000000000000000000000000000" : { + "//comment" : "STATICCALL precompiles and OOG", + "balance" : "0", + "code" : "{ (STATICCALL 50000 1 0 0 0 0) (STATICCALL 50000 2 0 0 0 0) (STATICCALL 50000 3 0 0 0 0) (STATICCALL 50000 4 0 0 0 0) (STATICCALL 50000 5 0 0 0 0) (STATICCALL 50000 6 0 0 0 0) (STATICCALL 50000 7 0 0 0 0) (STATICCALL 50000 8 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000000000", + "code" : "", + "nonce" : "1", + "storage" : { + } + }, + "0000000000000000000000000000000000000001" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + } + }, + "0000000000000000000000000000000000000002" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + } + }, + "0000000000000000000000000000000000000003" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + } + }, + "0000000000000000000000000000000000000004" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + } + }, + "0000000000000000000000000000000000000005" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + } + }, + "0000000000000000000000000000000000000006" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + } + }, + "0000000000000000000000000000000000000007" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + } + }, + "0000000000000000000000000000000000000008" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x0000000000000000000000001000000000000000000000000000000000000000", + "0x0000000000000000000000002000000000000000000000000000000000000000", + "0x0000000000000000000000003000000000000000000000000000000000000000", + "0x0000000000000000000000004000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "100000" + ], + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouch_noncestorageFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouch_noncestorageFiller.json new file mode 100644 index 000000000..b6ac91f08 --- /dev/null +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouch_noncestorageFiller.json @@ -0,0 +1,202 @@ +{ + "RevertPrecompiledTouch_noncestorage" : { + "env" : { + "currentCoinbase" : "68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "4012015", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=EIP158"], + "result" : { + "0000000000000000000000000000000000000001" : { + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000002" : { + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000003" : { + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000004" : { + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000005" : { + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000006" : { + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000007" : { + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000008" : { + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ (CALLCODE (GAS) (CALLDATALOAD 0) 0 0 0 0 0) }", + "nonce" : "0", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "//comment" : "CALL precompiles and OOG", + "balance" : "0", + "code" : "{ (CALL 50000 1 0 0 0 0 0) (CALL 50000 2 0 0 0 0 0) (CALL 50000 3 0 0 0 0 0) (CALL 50000 4 0 0 0 0 0) (CALL 50000 5 0 0 0 0 0) (CALL 50000 6 0 0 0 0 0) (CALL 50000 7 0 0 0 0 0) (CALL 50000 8 0 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "2000000000000000000000000000000000000000" : { + "//comment" : "DELEGATECALL precompiles and OOG", + "balance" : "0", + "code" : "{ (DELEGATECALL 50000 1 0 0 0 0) (DELEGATECALL 50000 2 0 0 0 0) (DELEGATECALL 50000 3 0 0 0 0) (DELEGATECALL 50000 4 0 0 0 0) (DELEGATECALL 50000 5 0 0 0 0) (DELEGATECALL 50000 6 0 0 0 0) (DELEGATECALL 50000 7 0 0 0 0) (DELEGATECALL 50000 8 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "3000000000000000000000000000000000000000" : { + "//comment" : "CALLCODE precompiles and OOG", + "balance" : "0", + "code" : "{ (CALLCODE 50000 1 0 0 0 0 0) (CALLCODE 50000 2 0 0 0 0 0) (CALLCODE 50000 3 0 0 0 0 0) (CALLCODE 50000 4 0 0 0 0 0) (CALLCODE 50000 5 0 0 0 0 0) (CALLCODE 50000 6 0 0 0 0 0) (CALLCODE 50000 7 0 0 0 0 0) (CALLCODE 50000 8 0 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "4000000000000000000000000000000000000000" : { + "//comment" : "STATICCALL precompiles and OOG", + "balance" : "0", + "code" : "{ (STATICCALL 50000 1 0 0 0 0) (STATICCALL 50000 2 0 0 0 0) (STATICCALL 50000 3 0 0 0 0) (STATICCALL 50000 4 0 0 0 0) (STATICCALL 50000 5 0 0 0 0) (STATICCALL 50000 6 0 0 0 0) (STATICCALL 50000 7 0 0 0 0) (STATICCALL 50000 8 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000000000", + "code" : "", + "nonce" : "1", + "storage" : { + } + }, + "0000000000000000000000000000000000000001" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000002" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000003" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000004" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000005" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000006" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000007" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000008" : { + "balance" : "0", + "code" : "", + "nonce" : "1", + "storage" : { + "0x00" : "0x01" + } + } + }, + "transaction" : { + "data" : [ + "0x0000000000000000000000001000000000000000000000000000000000000000", + "0x0000000000000000000000002000000000000000000000000000000000000000", + "0x0000000000000000000000003000000000000000000000000000000000000000", + "0x0000000000000000000000004000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "100000" + ], + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouch_storageFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouch_storageFiller.json new file mode 100644 index 000000000..8a1d6ed11 --- /dev/null +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouch_storageFiller.json @@ -0,0 +1,278 @@ +{ + "RevertPrecompiledTouch_storage" : { + "env" : { + "currentCoinbase" : "68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "4012015", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : 0, + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP158"], + "result" : { + "0000000000000000000000000000000000000001" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000002" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000003" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000004" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000005" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000006" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000007" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000008" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : [1,2,3], + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP158"], + "result" : { + "0000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000003" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000004" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000005" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000006" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000007" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000008" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Byzantium"], + "result" : { + "0000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000002" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000003" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000004" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000005" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000006" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000007" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000008" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ (CALLCODE (GAS) (CALLDATALOAD 0) 0 0 0 0 0) }", + "nonce" : "0", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "//comment" : "CALL precompiles and OOG", + "balance" : "0", + "code" : "{ (CALL 50000 1 0 0 0 0 0) (CALL 50000 2 0 0 0 0 0) (CALL 50000 3 0 0 0 0 0) (CALL 50000 4 0 0 0 0 0) (CALL 50000 5 0 0 0 0 0) (CALL 50000 6 0 0 0 0 0) (CALL 50000 7 0 0 0 0 0) (CALL 50000 8 0 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "2000000000000000000000000000000000000000" : { + "//comment" : "DELEGATECALL precompiles and OOG", + "balance" : "0", + "code" : "{ (DELEGATECALL 50000 1 0 0 0 0) (DELEGATECALL 50000 2 0 0 0 0) (DELEGATECALL 50000 3 0 0 0 0) (DELEGATECALL 50000 4 0 0 0 0) (DELEGATECALL 50000 5 0 0 0 0) (DELEGATECALL 50000 6 0 0 0 0) (DELEGATECALL 50000 7 0 0 0 0) (DELEGATECALL 50000 8 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "3000000000000000000000000000000000000000" : { + "//comment" : "CALLCODE precompiles and OOG", + "balance" : "0", + "code" : "{ (CALLCODE 50000 1 0 0 0 0 0) (CALLCODE 50000 2 0 0 0 0 0) (CALLCODE 50000 3 0 0 0 0 0) (CALLCODE 50000 4 0 0 0 0 0) (CALLCODE 50000 5 0 0 0 0 0) (CALLCODE 50000 6 0 0 0 0 0) (CALLCODE 50000 7 0 0 0 0 0) (CALLCODE 50000 8 0 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "4000000000000000000000000000000000000000" : { + "//comment" : "STATICCALL precompiles and OOG", + "balance" : "0", + "code" : "{ (STATICCALL 50000 1 0 0 0 0) (STATICCALL 50000 2 0 0 0 0) (STATICCALL 50000 3 0 0 0 0) (STATICCALL 50000 4 0 0 0 0) (STATICCALL 50000 5 0 0 0 0) (STATICCALL 50000 6 0 0 0 0) (STATICCALL 50000 7 0 0 0 0) (STATICCALL 50000 8 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000000000", + "code" : "", + "nonce" : "1", + "storage" : { + } + }, + "0000000000000000000000000000000000000001" : { + "balance" : "0", + "code" : "", + "nonce" : "0", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000002" : { + "balance" : "0", + "code" : "", + "nonce" : "0", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000003" : { + "balance" : "0", + "code" : "", + "nonce" : "0", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000004" : { + "balance" : "0", + "code" : "", + "nonce" : "0", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000005" : { + "balance" : "0", + "code" : "", + "nonce" : "0", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000006" : { + "balance" : "0", + "code" : "", + "nonce" : "0", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000007" : { + "balance" : "0", + "code" : "", + "nonce" : "0", + "storage" : { + "0x00" : "0x01" + } + }, + "0000000000000000000000000000000000000008" : { + "balance" : "0", + "code" : "", + "nonce" : "0", + "storage" : { + "0x00" : "0x01" + } + } + }, + "transaction" : { + "data" : [ + "0x0000000000000000000000001000000000000000000000000000000000000000", + "0x0000000000000000000000002000000000000000000000000000000000000000", + "0x0000000000000000000000003000000000000000000000000000000000000000", + "0x0000000000000000000000004000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "100000" + ], + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0" + ] + } + } +} |