Skip to content

Commit

Permalink
Add Copier and filler tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-dc committed May 27, 2024
1 parent d0426d0 commit a114e9f
Show file tree
Hide file tree
Showing 398 changed files with 121,758 additions and 438 deletions.
78 changes: 78 additions & 0 deletions EIPTests/StateTests/stEOF/call/call_value_to_empty_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"call_value_to_empty" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "evmone-t8n 0.12.0-dev+commit.364a4c66.dirty",
"filling-tool-version" : "retesteth-0.3.2-cancun+commit.b50bbe2e.Linux.g++",
"generatedTestHash" : "0a991dc111d5a139435343e9fc8b5471c33c0e95d52033d4213b0031ee33c1d3",
"lllcversion" : "Version: 0.5.14-develop.2022.4.6+commit.401d5358.Linux.g++",
"solidity" : "Version: 0.8.25+commit.b61c2a91.Linux.g++",
"source" : "src/EIPTestsFiller/StateTests/stEOF/call/call_value_to_empty_Copier.json",
"sourceHash" : "5677b33fcf66a490732ba4f5bc33a15c66d5013912ad0ef52841e0b9a2a6ac0c"
},
"env" : {
"currentBaseFee" : "0x3e7",
"currentCoinbase" : "0x00000000000000000000000000000000c014bace",
"currentGasLimit" : "0xf4240",
"currentNumber" : "0x1",
"currentTimestamp" : "0x1"
},
"post" : {
"London" : [
{
"hash" : "0xdf56c99215e1ec4e5f9f58c9c7ede7a91c29f84d76d12d0e607ae6c3effa6e29",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
"0x00000000000000000000000000000000000000be" : {
"balance" : "0x0",
"code" : "0x",
"nonce" : "0x0",
"storage" : {
}
},
"0x000000000000000000000000000000000000c0de" : {
"balance" : "0x1",
"code" : "0x600060006000600060017300000000000000000000000000000000000000be6000f1",
"nonce" : "0x0",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x3b9aca01",
"code" : "0x",
"nonce" : "0x1",
"storage" : {
}
}
},
"transaction" : {
"accessLists" : [
[
]
],
"data" : [
"0x"
],
"gasLimit" : [
"0xf4240"
],
"maxFeePerGas" : "0x3e8",
"maxPriorityFeePerGas" : "0x3e8",
"nonce" : "0x1",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"to" : "0x000000000000000000000000000000000000c0de",
"value" : [
"0x0"
]
}
}
}
89 changes: 89 additions & 0 deletions EIPTests/StateTests/stEOF/call/delegatecall_static_legacy_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"delegatecall_static_legacy" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "evmone-t8n 0.12.0-dev+commit.364a4c66.dirty",
"filling-tool-version" : "retesteth-0.3.2-cancun+commit.b50bbe2e.Linux.g++",
"generatedTestHash" : "6c6cb0488cfba4bde69c11947cd4331ed15cf03d1b3d06b649268a826883cf25",
"lllcversion" : "Version: 0.5.14-develop.2022.4.6+commit.401d5358.Linux.g++",
"solidity" : "Version: 0.8.25+commit.b61c2a91.Linux.g++",
"source" : "src/EIPTestsFiller/StateTests/stEOF/call/delegatecall_static_legacy_Copier.json",
"sourceHash" : "fcf946a3b3f9be566ba3f57af2b3795d509f87e7dd4e40803125d10eb1c8c774"
},
"env" : {
"currentBaseFee" : "0x3e7",
"currentCoinbase" : "0x00000000000000000000000000000000c014bace",
"currentGasLimit" : "0xf4240",
"currentNumber" : "0x1",
"currentTimestamp" : "0x1"
},
"post" : {
"Prague" : [
{
"hash" : "0xfdcf8023e82a22d7baf8f9135c8ab0cb468daba8785301174e7bea25b224df20",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
"0x000000000000000000000000000000000000c0de" : {
"balance" : "0x0",
"code" : "0x60006000600060007300000000000000000000000000000000ca11ee0162030d40fa6001553d600060003e600051600255",
"nonce" : "0x0",
"storage" : {
"0x1" : "0xdd",
"0x2" : "0xdd"
}
},
"0x00000000000000000000000000000000ca11ee01" : {
"balance" : "0x0",
"code" : "0x60006000600060007300000000000000000000000000000000ca11ee02620186a0f460005260206000f3",
"nonce" : "0x0",
"storage" : {
"0x1" : "0xdd"
}
},
"0x00000000000000000000000000000000ca11ee02" : {
"balance" : "0x0",
"code" : "0x60cc600155",
"nonce" : "0x0",
"storage" : {
"0x1" : "0xdd"
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x3b9aca01",
"code" : "0x",
"nonce" : "0x1",
"storage" : {
}
}
},
"transaction" : {
"accessLists" : [
[
]
],
"data" : [
"0x"
],
"gasLimit" : [
"0xf4240"
],
"maxFeePerGas" : "0x3e8",
"maxPriorityFeePerGas" : "0x3e8",
"nonce" : "0x1",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"to" : "0x000000000000000000000000000000000000c0de",
"value" : [
"0x0"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"code_deployment_out_of_gas_f" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "evmone-t8n 0.12.0-dev+commit.364a4c66.dirty",
"filling-tool-version" : "retesteth-0.3.2-cancun+commit.b50bbe2e.Linux.g++",
"generatedTestHash" : "c5316c62cc7c27845457a32fbddd38d15ccaea549f4c58d60b458aba800ae85e",
"lllcversion" : "Version: 0.5.14-develop.2022.4.6+commit.401d5358.Linux.g++",
"solidity" : "Version: 0.8.25+commit.b61c2a91.Linux.g++",
"source" : "src/EIPTestsFiller/StateTests/stEOF/create/code_deployment_out_of_gas_f_Copier.json",
"sourceHash" : "164ac19db981b897bd1ce79d5e01b78cf4b9a67ad5072dbfbf4b73b15d750486"
},
"env" : {
"currentBaseFee" : "0x0",
"currentCoinbase" : "0x00000000000000000000000000000000c014bace",
"currentGasLimit" : "0xf4240",
"currentNumber" : "0x1",
"currentTimestamp" : "0x1"
},
"post" : {
"Frontier" : [
{
"hash" : "0x33d1f437b74a9e2bfbe20057f750c4fb7c5b3b609f99b0f36065f2bb12962f7b",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
"0x000000000000000000000000000000000000c0de" : {
"balance" : "0x0",
"code" : "0x656103e86000f36000526006601a6000f0600055",
"nonce" : "0x0",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x3b9aca01",
"code" : "0x",
"nonce" : "0x1",
"storage" : {
}
}
},
"transaction" : {
"data" : [
"0x"
],
"gasLimit" : [
"0x186a0"
],
"gasPrice" : "0x3e8",
"nonce" : "0x1",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"to" : "0x000000000000000000000000000000000000c0de",
"value" : [
"0x0"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"code_deployment_out_of_gas_refund_f" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "evmone-t8n 0.12.0-dev+commit.364a4c66.dirty",
"filling-tool-version" : "retesteth-0.3.2-cancun+commit.b50bbe2e.Linux.g++",
"generatedTestHash" : "5fd1c43ed92308674a0148e96d3b6b8424f68fb42a5a9434e2dcff83112fc3db",
"lllcversion" : "Version: 0.5.14-develop.2022.4.6+commit.401d5358.Linux.g++",
"solidity" : "Version: 0.8.25+commit.b61c2a91.Linux.g++",
"source" : "src/EIPTestsFiller/StateTests/stEOF/create/code_deployment_out_of_gas_refund_f_Copier.json",
"sourceHash" : "aea97d6dec8ddcb7298371666ba6c32f48b65d6ad4230c8c738466ea71895f9a"
},
"env" : {
"currentBaseFee" : "0x0",
"currentCoinbase" : "0x00000000000000000000000000000000c014bace",
"currentGasLimit" : "0xf4240",
"currentNumber" : "0x1",
"currentTimestamp" : "0x1"
},
"post" : {
"Frontier" : [
{
"hash" : "0xbb10672563bc02648f644f537ef782210e69e0c23428d7cd81f1c02f841d41f1",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
"0x000000000000000000000000000000000000c0de" : {
"balance" : "0x0",
"code" : "0x6f600160005560006000556103e86000f3600052601060106000f0600055",
"nonce" : "0x0",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x3b9aca01",
"code" : "0x",
"nonce" : "0x1",
"storage" : {
}
}
},
"transaction" : {
"data" : [
"0x"
],
"gasLimit" : [
"0x186a0"
],
"gasPrice" : "0x3e8",
"nonce" : "0x1",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"to" : "0x000000000000000000000000000000000000c0de",
"value" : [
"0x0"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"code_deployment_out_of_gas_refund_tw" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "evmone-t8n 0.12.0-dev+commit.364a4c66.dirty",
"filling-tool-version" : "retesteth-0.3.2-cancun+commit.b50bbe2e.Linux.g++",
"generatedTestHash" : "c422152ba6c0c0c2929fce28eddce050faa87bb479f0787ab03f5ad9f0ee41b3",
"lllcversion" : "Version: 0.5.14-develop.2022.4.6+commit.401d5358.Linux.g++",
"solidity" : "Version: 0.8.25+commit.b61c2a91.Linux.g++",
"source" : "src/EIPTestsFiller/StateTests/stEOF/create/code_deployment_out_of_gas_refund_tw_Copier.json",
"sourceHash" : "4808ab5492729075cb070d3f6c9348098b3c1a22e421ecd2e5f99fa580a1bbc0"
},
"env" : {
"currentBaseFee" : "0x0",
"currentCoinbase" : "0x00000000000000000000000000000000c014bace",
"currentGasLimit" : "0xf4240",
"currentNumber" : "0x1",
"currentTimestamp" : "0x1"
},
"post" : {
"EIP150" : [
{
"hash" : "0xee0fd67588c2ffb51bd5723f6d001f46c554caf0e3a833d34f56c61a4b68b3bd",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
"0x000000000000000000000000000000000000c0de" : {
"balance" : "0x0",
"code" : "0x6f600160005560006000556113886000f3600052601060106000f0600055",
"nonce" : "0x0",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x3b9aca01",
"code" : "0x",
"nonce" : "0x1",
"storage" : {
}
}
},
"transaction" : {
"data" : [
"0x"
],
"gasLimit" : [
"0xf4240"
],
"gasPrice" : "0x3e8",
"nonce" : "0x1",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"sender" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"to" : "0x000000000000000000000000000000000000c0de",
"value" : [
"0x0"
]
}
}
}
Loading

0 comments on commit a114e9f

Please sign in to comment.