Skip to content

Commit

Permalink
EIP-3540: Unified Spec Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-dc authored and winsvega committed Jan 3, 2023
1 parent b9195c0 commit b63ca72
Show file tree
Hide file tree
Showing 36 changed files with 87,582 additions and 44,851 deletions.
1,382 changes: 728 additions & 654 deletions BlockchainTests/GeneralStateTests/EIPTests/stEOF/stEIP3540/CREATE2_EOF1.json

Large diffs are not rendered by default.

22,791 changes: 18,096 additions & 4,695 deletions BlockchainTests/GeneralStateTests/EIPTests/stEOF/stEIP3540/CREATE2_EOF1Invalid.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,622 changes: 336 additions & 2,286 deletions BlockchainTests/GeneralStateTests/EIPTests/stEOF/stEIP3540/CREATE_EOF1.json

Large diffs are not rendered by default.

22,859 changes: 18,130 additions & 4,729 deletions BlockchainTests/GeneralStateTests/EIPTests/stEOF/stEIP3540/CREATE_EOF1Invalid.json

Large diffs are not rendered by default.

13,930 changes: 10,871 additions & 3,059 deletions BlockchainTests/GeneralStateTests/EIPTests/stEOF/stEIP3540/CREATE_EOF1Invalid_FromEOF.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

3,708 changes: 817 additions & 2,891 deletions BlockchainTests/GeneralStateTests/EIPTests/stEOF/stEIP3540/EOF1_Calls.json

Large diffs are not rendered by default.

15,744 changes: 2,846 additions & 12,898 deletions BlockchainTests/GeneralStateTests/EIPTests/stEOF/stEIP3540/EOF1_Execution.json

Large diffs are not rendered by default.

120 changes: 58 additions & 62 deletions GeneralStateTests/EIPTests/stEOF/stEIP3540/CREATE2_EOF1.json

Large diffs are not rendered by default.

2,399 changes: 1,777 additions & 622 deletions GeneralStateTests/EIPTests/stEOF/stEIP3540/CREATE2_EOF1Invalid.json

Large diffs are not rendered by default.

1,285 changes: 956 additions & 329 deletions GeneralStateTests/EIPTests/stEOF/stEIP3540/CREATE2_EOF1Invalid_FromEOF.json

Large diffs are not rendered by default.

120 changes: 30 additions & 90 deletions GeneralStateTests/EIPTests/stEOF/stEIP3540/CREATE2_EOF1_FromEOF.json

Large diffs are not rendered by default.

242 changes: 26 additions & 216 deletions GeneralStateTests/EIPTests/stEOF/stEIP3540/CREATE_EOF1.json

Large diffs are not rendered by default.

2,421 changes: 1,788 additions & 633 deletions GeneralStateTests/EIPTests/stEOF/stEIP3540/CREATE_EOF1Invalid.json

Large diffs are not rendered by default.

1,296 changes: 967 additions & 329 deletions GeneralStateTests/EIPTests/stEOF/stEIP3540/CREATE_EOF1Invalid_FromEOF.json

Large diffs are not rendered by default.

118 changes: 29 additions & 89 deletions GeneralStateTests/EIPTests/stEOF/stEIP3540/CREATE_EOF1_FromEOF.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,23 @@
"CREATE_EOF1_FromEOF" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "evm version 1.11.0-unstable-e2fa55a4-20221108",
"filling-tool-version" : "retesteth-0.2.3-postmerge+commit.fb576fe4.Linux.g++",
"generatedTestHash" : "2318defd4147db5cde203dbec5e6206f99776b83e8b0d8e71903d60d70fe6ce5",
"filling-rpc-server" : "evm version 1.11.0-unstable-de05a2b0-20221229",
"filling-tool-version" : "retesteth-0.2.3-postmerge+commit.9190dff4.Linux.g++",
"generatedTestHash" : "c98846fb8f7a1c8ce905ba2c07e025358b77b799281ddfe779708a5c4622b040",
"labels" : {
"0" : "deploying_0xef",
"1" : "deploying_0xef00",
"10" : "eof1_initcode_deploying_legacy",
"11" : "eof1_initcode_with_data_deploying_legacy",
"12" : "legacy_initcode_deploying_legacy",
"2" : "deploying_0xef0000",
"3" : "deploying_0xef00..00",
"4" : "deploying_valid_eof1",
"5" : "deploying_valid_eof1_with_data",
"6" : "eof1_initcode_deploying_valid_eof1",
"7" : "eof1_initcode_deploying_valid_eof1_with_data",
"8" : "eof1_initcode_with_data_deploying_valid_eof1",
"9" : "eof1_initcode_with_data_deploying_valid_eof1_with_data"
"4" : "eof1_initcode_deploying_valid_eof1",
"5" : "eof1_initcode_deploying_valid_eof1_with_data",
"6" : "eof1_initcode_with_data_deploying_valid_eof1",
"7" : "eof1_initcode_with_data_deploying_valid_eof1_with_data"
},
"lllcversion" : "Error getting LLLC Version",
"solidity" : "Version: 0.8.17-develop.2022.9.30+commit.8df45f5f.Linux.clang",
"lllcversion" : "Version: 0.5.14-develop.2022.4.6+commit.401d5358.Linux.g++",
"solidity" : "Version: 0.8.18-develop.2022.12.23+commit.67bba3b7.Linux.g++",
"source" : "src/GeneralStateTestsFiller/EIPTests/stEOF/stEIP3540/CREATE_EOF1_FromEOFFiller.yml",
"sourceHash" : "9d94d67c4e4d9349c116d617d97251b83238824a72fa5cca2423b7718f06f514"
"sourceHash" : "015e65643fe20d7bdcebaa31e49e7667167287a61ede6dd6609ad73a34973d6e"
},
"env" : {
"currentBaseFee" : "0x0a",
Expand All @@ -36,9 +31,9 @@
"previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
"Merge+3540+3670" : [
"Shanghai" : [
{
"hash" : "0xd075a3d655f189ef7cd7ba7dc5a73a22114fc7469fd85c1a55008dea5993aedf",
"hash" : "0xa11834f677104a4aeacebe39409916c6b34cebb9dd206a8ef50def501244966a",
"indexes" : {
"data" : 0,
"gas" : 0,
Expand All @@ -48,7 +43,7 @@
"txbytes" : "0xf86a800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b808a60ef60005360016000f31ba0e855b14706c4e47fd8e765368486ed5ca2cb7ac886b261a46457d21111f05411a03f1314ff819e6ca49b98a5dff224d0693bbac4860a583993dffe6ebab6170f29"
},
{
"hash" : "0xd075a3d655f189ef7cd7ba7dc5a73a22114fc7469fd85c1a55008dea5993aedf",
"hash" : "0xa11834f677104a4aeacebe39409916c6b34cebb9dd206a8ef50def501244966a",
"indexes" : {
"data" : 1,
"gas" : 0,
Expand All @@ -58,7 +53,7 @@
"txbytes" : "0xf86a800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b808a60ef60005360026000f31ca06ee98cfd5267b69178e4be20f1329f1c89e166fba19273893ba937d5146f769da0436338587693edaa893c286784edfe7f148a992bbdbafd465ee6b76d7778ea0f"
},
{
"hash" : "0xd075a3d655f189ef7cd7ba7dc5a73a22114fc7469fd85c1a55008dea5993aedf",
"hash" : "0xa11834f677104a4aeacebe39409916c6b34cebb9dd206a8ef50def501244966a",
"indexes" : {
"data" : 2,
"gas" : 0,
Expand All @@ -68,7 +63,7 @@
"txbytes" : "0xf86a800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b808a60ef60005360036000f31ba0153b6cbc5cfa36fd43c5e3f34648c78e86cf834458596fdea722af3f87e4a218a016e64bbd4f747198175fe26487fbdd138a34b561b8cfd7846262bd950e28cc2c"
},
{
"hash" : "0xd075a3d655f189ef7cd7ba7dc5a73a22114fc7469fd85c1a55008dea5993aedf",
"hash" : "0xa11834f677104a4aeacebe39409916c6b34cebb9dd206a8ef50def501244966a",
"indexes" : {
"data" : 3,
"gas" : 0,
Expand All @@ -78,94 +73,44 @@
"txbytes" : "0xf86a800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b808a60ef60005360206000f31ba036a8d004476109bc6d56b18701fbde81b722c2e2e75dadc47af7a23fba0f9c1fa051d310370e93d5d256a3ef1d477211df118d37500d592336859f294390ca09f6"
},
{
"hash" : "0x6b04c8114d8d448c7698d0c45308bd6961a051ad7379230c378ff38436c01d50",
"hash" : "0x0ac67c4b3d1012474cf67584fbbc92b2aac73424bb19a167475a55cd3da206a2",
"indexes" : {
"data" : 4,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"txbytes" : "0xf889800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a97fef00010100030060000000000000000000000000000000000000000000000000600052600a6000f31ba08e6d834110481f9976ad8a1c1525098ea9dfc1aaff54d6f04484026a7f2e51aea022472eed7ef21f2075753f82cee83a16a743c542ecfbeff5888fe79016ec14b3"
"txbytes" : "0xf89d800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80b83cef0001010004020001002903000000000000027fef0001010004020001000403000000000000016000500000000000000000000060005260176000f31ca08267761a6f44dbc9c5d71e75bc513f1fb999997cb9bc92a04044c616996b104ca0031f6892566e1be813f59565ffb1b4e30464d8c0df255cdf75c514418ef6dc37"
},
{
"hash" : "0x8fa3ab5ed843935862d18970021df68c3fe1591822eb878eda30e812c3c76f43",
"hash" : "0x7a435b625c4c1d01df02476ec598b944626bce9c9faa4a8a1aea432a55bcea2e",
"indexes" : {
"data" : 5,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"txbytes" : "0xf889800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a97fef000101000302000400600000aabbccdd00000000000000000000000000000060005260116000f31ba0369e0019eb11cc4faf182e06fd1cc7a6790d9fc83042dfea998b3e7cd7e3ebe3a038ac0fdc66b53f48b1fd3c9b83758ecb04d0ee7edb4e925ebae38e4ecc6e2f7c"
"txbytes" : "0xf89d800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80b83cef0001010004020001002903000000000000027fef00010100040200010004030004000000000160005000aabbccdd0000000000600052601b6000f31ca0c6af29d7749e4481c32a85b9e63baf262ac144bbe33dcc18e4063f176142aa6aa007a211629048f8dc7bd9253a0a1444c43540eae2b8837db5774f357fda444940"
},
{
"hash" : "0xe5f8ad23232f1c60140c3cf03b014c793466fea085d2efdb91a9d5ef4de9a17b",
"hash" : "0xc7119b36bcf93a614b1d74e7712a8315e7970b61d72c6b1ad7f470776e3ed114",
"indexes" : {
"data" : 6,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"txbytes" : "0xf890800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80b0ef0001010029007fef00010100030060000000000000000000000000000000000000000000000000600052600a6000f31ba05034cba31548e9f26b911339c40acc533b8e771effedc418d9e780319d42ef4ca0168a12db4fc40bb56b410fcc62214fae00800a5ca4315964cba0b0541c7e34a5"
"txbytes" : "0xf8a1800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80b840ef0001010004020001002903000400000000027fef0001010004020001000403000000000000016000500000000000000000000060005260176000f3aabbccdd1ca0d6b3723e908493be2697f45c5330c8a17cd4c2fd544a2e21b7096615b3a96847a04b7e8a6d2c96592e06862a2b9e3241464f234f642bca681989fb37d248f80b98"
},
{
"hash" : "0x5d87c2354313888382117f0b56fa0f3d02767072f4a4af90fb70070ae1983d7e",
"hash" : "0xedcbe63d1fa94c998366fee69347862d117b7891688b3b1a82a133de5cd22227",
"indexes" : {
"data" : 7,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"txbytes" : "0xf890800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80b0ef0001010029007fef000101000302000400600000aabbccdd00000000000000000000000000000060005260116000f31ba0407f345c1dd82bbd8098d2a46c0116bd6649e7162c07e946516328548626be9fa057bc938c209db9303abaa99f4b74bf8742b0a6ab00618ed0220c714eb62ce322"
},
{
"hash" : "0x054a29a178ace5b3f796590b2fe10cea2ba4948bde7c32d76dc996e3830c9980",
"indexes" : {
"data" : 8,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"txbytes" : "0xf897800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80b7ef0001010029020004007fef00010100030060000000000000000000000000000000000000000000000000600052600a6000f3aabbccdd1ca02c7726b5234c95f8b690496221b91c5b6d3cf88b0363690f19331999e43a4353a06625127697ed9c0214a2e032c587a7c6ce956a76aeafaa2f60e6cd736c8e6222"
},
{
"hash" : "0x9f159b36826ec1d9763f06e6202a52f064fe514b26567ed25b693f1045e57cac",
"indexes" : {
"data" : 9,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"txbytes" : "0xf895800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80b5ef0001010029020002007fef000101000302000400600000aabbccdd00000000000000000000000000000060005260116000f3eeff1ba0b2c0b77f46b143420d45cbb17a667f1005bda0dd8f9cdb1aaa92d0c8b8b65f5ca061b43cbe4f0dd9a6c8790e0b28725bdad060bf89021c1b3920e0f999e94ad4c8"
},
{
"hash" : "0xdda43b820582d40491b8ffce169d224a1cf98c38819b764f5d67dd7bb6180197",
"indexes" : {
"data" : 10,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"txbytes" : "0xf86c800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b808cef00010100050060016000f31ca0698592d3ca907f71cabf49e1f6332cbc244774b4268155b547d7f2a783084a0aa0088b110fdc38b542dbb422ef67e247e191c2d0c851aac20c07553a129ecebc07"
},
{
"hash" : "0x02ecccd7c497ad5a04df692d2d4d2bb39174bf3d4a010926d9b6953f012aadb8",
"indexes" : {
"data" : 11,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"txbytes" : "0xf873800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b8093ef00010100050200040060016000f3aabbccdd1ca0eaac7dd6e7a8dce1d277221b1d265a99ab438fdceefbde6d33de6bdf7ac22982a07ee69d3b6dee87615dcde64ba42f05c0a448ba97394ece72242a4e62a110696c"
},
{
"hash" : "0xc61814b3888f35a254cda924d7515af20203bf3e355d6a6fa119c2800aa9670e",
"indexes" : {
"data" : 12,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"txbytes" : "0xf865800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b808560016000f31ba08ded9ae1fd850114385f132b1e74d4e123627865bf35a8ccdd1571c4f019b4c4a005536793e1483242976ce12f1a4e9724391d86f23c8d3bad310fa63d636c3ad0"
"txbytes" : "0xf89f800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80b83eef0001010004020001002903000200000000027fef00010100040200010004030004000000000160005000aabbccdd0000000000600052601b6000f3eeff1ca0d75a9d47b4c76f2e1461929eac4db0095b4bfdcc672e10230dcbc561cf6885f2a015bf18a1802a0c6b1da15a0d0daa99f274957a5833288315afef183d67fbd8fc"
}
]
},
Expand All @@ -179,7 +124,7 @@
},
"0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x00",
"code" : "0xef0001010015003660006000373660006000f0600055600160015500",
"code" : "0xef0001010004020001001503000000000000033660006000373660006000f0600055600160015500",
"nonce" : "0x00",
"storage" : {
}
Expand All @@ -191,15 +136,10 @@
"0x60ef60005360026000f3",
"0x60ef60005360036000f3",
"0x60ef60005360206000f3",
"0x7fef00010100030060000000000000000000000000000000000000000000000000600052600a6000f3",
"0x7fef000101000302000400600000aabbccdd00000000000000000000000000000060005260116000f3",
"0xef0001010029007fef00010100030060000000000000000000000000000000000000000000000000600052600a6000f3",
"0xef0001010029007fef000101000302000400600000aabbccdd00000000000000000000000000000060005260116000f3",
"0xef0001010029020004007fef00010100030060000000000000000000000000000000000000000000000000600052600a6000f3aabbccdd",
"0xef0001010029020002007fef000101000302000400600000aabbccdd00000000000000000000000000000060005260116000f3eeff",
"0xef00010100050060016000f3",
"0xef00010100050200040060016000f3aabbccdd",
"0x60016000f3"
"0xef0001010004020001002903000000000000027fef0001010004020001000403000000000000016000500000000000000000000060005260176000f3",
"0xef0001010004020001002903000000000000027fef00010100040200010004030004000000000160005000aabbccdd0000000000600052601b6000f3",
"0xef0001010004020001002903000400000000027fef0001010004020001000403000000000000016000500000000000000000000060005260176000f3aabbccdd",
"0xef0001010004020001002903000200000000027fef00010100040200010004030004000000000160005000aabbccdd0000000000600052601b6000f3eeff"
],
"gasLimit" : [
"0xe4e1c0"
Expand All @@ -214,4 +154,4 @@
]
}
}
}
}
Loading

0 comments on commit b63ca72

Please sign in to comment.