Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ jobs:
network: hoodi
- config: config_samples/ethereum/hoodi/srv3/hoodi_srv3_easy_track_config.json
network: hoodi
- config: config_samples/ethereum/hoodi/edf/hoodi_edf_config.json
network: hoodi
- config: config_samples/ethereum/hoodi/edf/hoodi_edf_core_config.json
network: hoodi
- config: config_samples/ethereum/hoodi/edf/hoodi_edf_easy_track_config.json
network: hoodi
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ cache
.diffyscan_cache
.buildx-cache
.env
node_modules
128 changes: 128 additions & 0 deletions config_samples/ethereum/hoodi/edf/hoodi_edf_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"contracts": {
"0xEb49f72DB1546B0E63e1114E2e403edbcE722AE6": "DelegationFactory",
"0x56a1B0b5074818D568D6608dc07353e81b4b53ec": "DelegationContract",
"0x89e1bEBAf6857312bCDc313B93F29aB9cA98000f": "DelegationContract",
"0x901789EA029B3c7CEa47019d6Df3C5973212976D": "DelegationContract",
"0xa66FDd65Cfc78964A62b5Ec50E5b0Afd0e52D610": "DelegationContract",
"0x4EEC6BEd8d5E45f0a6a99F067bC5F6370f2f7221": "DelegationContract",
"0x03224cFc446F3166c83E875095e872DD1E098076": "DelegationContract",
"0x25636798f6E716b2e6b7dEA8ED52a45271768D7A": "DelegationContract",
"0x929de74c921f3e719Ad2bb026EDeF747d443dC8E": "DelegationContract",
"0x9F81976E461B82cfe3CAec06De8eFA8aD5543408": "DelegationContract",
"0x9950477b8D8154ef44745612832464C3c2155F79": "DelegationContract",
"0xC51fE2B136a24D6eC8368C858Ae5211dc2FE0e0B": "DelegationContract",
"0x43c97fEfeF1e41D6429814e2a3Ad37aA096d633e": "DelegationContract",
"0xc19a08e427351F51DA7A82136aF66d8F01931738": "DelegationContract",
"0x9d7bFAa500b5DeC4FBab2257dfbC0cB3D5c1Fbc8": "DelegationContract",
"0x443e31892Ffd51f6f0Fef6DAE4ac2e2795f311Bf": "DelegationContract",
"0x89E9FCB24CC82e9A449A69f3932C70ca2FA07E1D": "DelegationContract",
"0xAFca4694c06720Ad03037db3760a920320037217": "DelegationContract"
},
"explorer_hostname": "api.etherscan.io",
"explorer_chain_id": 560048,
"explorer_token_env_var": "ETHERSCAN_EXPLORER_TOKEN",
"github_repo": {
"url": "https://github.com/lidofinance/execution-delegation-framework",
"commit": "557299104ad3eb1a74198933bd016328c490e276",
"relative_root": ""
},
"dependencies": {
"node_modules/@openzeppelin/contracts": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
"commit": "c64a1edb67b6e3f4a15cca8909c9482ad33a02b0",
"relative_root": "contracts"
}
},
"fail_on_bytecode_comparison_error": true,
"bytecode_comparison": {
"constructor_calldata": {},
"constructor_args": {
"0x56a1B0b5074818D568D6608dc07353e81b4b53ec": [
"000000000000000000000000ff513731aac4ceaa1239cf6fee824b7536b6d25c",
"0000000000000000000000004e93c8c7b06f1ceeb03a8e13b0371b35f93d3257",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0x89e1bEBAf6857312bCDc313B93F29aB9cA98000f": [
"0000000000000000000000001e8518cd5835b6775f902e1451a3dd7b02eb3e8a",
"000000000000000000000000edfadc682e0a7dd087bfacc4d95c30d6c0368575",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0x901789EA029B3c7CEa47019d6Df3C5973212976D": [
"0000000000000000000000001866476eba2c90bbd6904101c09f9d7e85a4a70e",
"0000000000000000000000008704ba057e86798381be96713fc33de8fd325109",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0xa66FDd65Cfc78964A62b5Ec50E5b0Afd0e52D610": [
"000000000000000000000000ce246d635940559007e2189ad77384af697b2bbe",
"00000000000000000000000029d28b8fa5633017fb57873b2905d63c8d300cfd",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0x4EEC6BEd8d5E45f0a6a99F067bC5F6370f2f7221": [
"00000000000000000000000020b8989ea7e84c60a93219d517581414eab20e86",
"0000000000000000000000008c6590209d39d9c00727373608f8a16e0d89a0fc",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0x03224cFc446F3166c83E875095e872DD1E098076": [
"0000000000000000000000002299dbf302985a62cf423b4375fc46af297c1a13",
"0000000000000000000000002c04277d39a1850d07cca81071e34ce5f2865525",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0x25636798f6E716b2e6b7dEA8ED52a45271768D7A": [
"000000000000000000000000ff513731aac4ceaa1239cf6fee824b7536b6d25c",
"0000000000000000000000009b186ce78ddd6ff098b4a533dd17a139e1ffed76",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0x929de74c921f3e719Ad2bb026EDeF747d443dC8E": [
"000000000000000000000000d1d7238f88839cb9b06d116ae735f22c4d9692ef",
"000000000000000000000000cad8aeeed49158e20f8429b28520541cfa2c27b1",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0x9F81976E461B82cfe3CAec06De8eFA8aD5543408": [
"000000000000000000000000604245617afdde8951813ec4d7f02edfb8b28957",
"000000000000000000000000e9fcd8c6ca10414e1955a8366ea72ed1bbafc3bf",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0x9950477b8D8154ef44745612832464C3c2155F79": [
"000000000000000000000000d963ae585757479a74b71c7f7c22280954921ec8",
"0000000000000000000000006070b31816e11a8b222fa232266ffddc02bed02b",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0xC51fE2B136a24D6eC8368C858Ae5211dc2FE0e0B": [
"000000000000000000000000cb23ced94cf83745783c413ac1f3467d001c662f",
"0000000000000000000000003e32f6e0e9a2f55ef6ee4075bb249c8e88a42a15",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0x43c97fEfeF1e41D6429814e2a3Ad37aA096d633e": [
"0000000000000000000000001e8518cd5835b6775f902e1451a3dd7b02eb3e8a",
"000000000000000000000000edf5163607997899b91bebd4feb1d5d78c896b57",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0xc19a08e427351F51DA7A82136aF66d8F01931738": [
"0000000000000000000000007accbffd1af1a5813ceaf2c444d77851525f5d48",
"000000000000000000000000ad4c09e3cc0bce7ff70bb23f624cc9de86eba556",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0x9d7bFAa500b5DeC4FBab2257dfbC0cB3D5c1Fbc8": [
"0000000000000000000000006393a3d18cb3924a1ddfe64c349aba8615ffdfb5",
"000000000000000000000000bd9d87c5cad402447408665e36b1e550a84e746b",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0x443e31892Ffd51f6f0Fef6DAE4ac2e2795f311Bf": [
"0000000000000000000000002c1c56642f5f935918f0eb14d70b6df28fd95c03",
"000000000000000000000000ae13d937a042aed48eb67efa935972b188578977",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0x89E9FCB24CC82e9A449A69f3932C70ca2FA07E1D": [
"000000000000000000000000ba63b701bee1c8b4969eac2f548e594dcfd33c85",
"000000000000000000000000049b1d2f7578bb56f9b75fce6a3ee5c40551e694",
"000000000000000000000000000000000000000000000000000000000002a300"
],
"0xAFca4694c06720Ad03037db3760a920320037217": [
"000000000000000000000000ff513731aac4ceaa1239cf6fee824b7536b6d25c",
"000000000000000000000000ca80ee7313a315879f326105134f938676cfd7a9",
"000000000000000000000000000000000000000000000000000000000002a300"
]
}
}
}
99 changes: 99 additions & 0 deletions config_samples/ethereum/hoodi/edf/hoodi_edf_core_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"contracts": {
"0x8E63F0aF403ffd3Cbd5dB18b4ee632314ab49B51": "DepositSecurityModule",
"0x546d76dd8D4BC0c6a26Cb71a39De5d78E222Cbf8": "LidoLocator"
},
"explorer_hostname": "api.etherscan.io",
"explorer_chain_id": 560048,
"explorer_token_env_var": "ETHERSCAN_EXPLORER_TOKEN",
"github_repo": {
"url": "https://github.com/lidofinance/core",
"commit": "3deade5e5f1320cb1869e5990a8372b3feab31ba",
"relative_root": ""
},
"dependencies": {
"@openzeppelin/contracts-v4.4": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
"commit": "6bd6b76d1156e20e45d1016f355d154141c7e5b9",
"relative_root": "contracts"
}
},
"fail_on_bytecode_comparison_error": true,
"allowed_diffs": {
"bytecode": {
"0x8E63F0aF403ffd3Cbd5dB18b4ee632314ab49B51": [
{
"reason": "ATTEST/PAUSE/UNVET_MESSAGE_PREFIX immutables are keccak hashes that include address(this); the eth_call deployment simulation runs at a different address, so these three 32-byte values cannot match. Pinned values equal the on-chain ATTEST_MESSAGE_PREFIX(), PAUSE_MESSAGE_PREFIX() and UNVET_MESSAGE_PREFIX() getters.",
"immutables": [
{
"offset": 605,
"value": "0x88bdb83d0d97bc38ca40b3310246f23731225cbca7bdb2ac43e37d39cad43568"
},
{
"offset": 805,
"value": "0x598127d1ce9e704e84791b3a23cab04101c5f54e66ed3142495c85d5e946c580"
},
{
"offset": 882,
"value": "0x1c8e696aff33862b82d41dcdb269ba96f17af8d0d4101daa99179ed7550da305"
},
{
"offset": 2574,
"value": "0x88bdb83d0d97bc38ca40b3310246f23731225cbca7bdb2ac43e37d39cad43568"
},
{
"offset": 3397,
"value": "0x598127d1ce9e704e84791b3a23cab04101c5f54e66ed3142495c85d5e946c580"
},
{
"offset": 5002,
"value": "0x1c8e696aff33862b82d41dcdb269ba96f17af8d0d4101daa99179ed7550da305"
}
]
}
]
}
},
"bytecode_comparison": {
"deployment_from": {
"0x8E63F0aF403ffd3Cbd5dB18b4ee632314ab49B51": "0xd2b8e075249Da7B7B1c9D9C5Da161b8f1d3dD5AE"
},
"constructor_calldata": {},
"constructor_args": {
"0x8E63F0aF403ffd3Cbd5dB18b4ee632314ab49B51": [
"00000000000000000000000000000000219ab540356cbb839cbe05303d7705fa",
"000000000000000000000000cc820558b39ee15c7c45b59390b503b83fb499a8",
"00000000000000000000000000000000000000000000000000000000000019f6",
"00000000000000000000000000000000000000000000000000000000000000c8"
],
"0x546d76dd8D4BC0c6a26Cb71a39De5d78E222Cbf8": [
[
"000000000000000000000000cb883b1bd0a41512b42d2db267f2a2cd919fb216",
"0000000000000000000000008e63f0af403ffd3cbd5db18b4ee632314ab49b51",
"0000000000000000000000009b108015fe433f173696af3aa0cf7cdb3e104258",
"0000000000000000000000003508a952176b3c15387c97be809eaffb1982176a",
"000000000000000000000000d0261b0032a00a7449ee7fbe14d3f98702996441",
"000000000000000000000000e2d1307a8e0eb6996ee9eb6fb5949124f17edf65",
"000000000000000000000000b2c99cd38a2636a6281a849c8de938b3ef4a7c3d",
"000000000000000000000000cc820558b39ee15c7c45b59390b503b83fb499a8",
"0000000000000000000000000534aa41907c9631fae990960bcc72d75fa7cfed",
"0000000000000000000000008664d394c2b3278f26a1b44b967aef99707eeab2",
"000000000000000000000000fe56573178f1bcdf53f01a6e9977670dcbbd9186",
"0000000000000000000000004473dcddbf77679a643bdb654dbd86d67f8d32f2",
"0000000000000000000000002a833402e3f46ffc1ecab3598c599147a78731a9",
"000000000000000000000000a5f5a9360275390ff9728262a29384399f38d2f0",
"0000000000000000000000006679090d92b08a2a686ef8614feecd8cdfe209db",
"000000000000000000000000c9991bb865d025364bcbbd99f36e85889fb68e69",
"0000000000000000000000009b5b78d1c9a3238bf24662067e34c57c83e8c354",
"000000000000000000000000a5f55f3402bea2b14ae15dae1b6811457d43581d",
"0000000000000000000000007e99ee3c66636de415d2d7c880938f2f40f94de4",
"0000000000000000000000004c9ffc325392090f789255b9948ab1659b797964",
"0000000000000000000000007ba269a03eed86f2f54cb04ca3b4b7626636df4e",
"000000000000000000000000f41491c79c30e8f4862d3f4a5b790171adb8e04a",
"000000000000000000000000501e678182bb5df3f733281521d3f3d1ade69917",
"00000000000000000000000010dbeb3367876826d00d21718d1d893e0fbd2956"
]
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"contracts": {
"0x68009122a394504E8fD7fee58F92Cd73c6A60717": "SetDepositsReserveTarget"
},
"explorer_hostname": "api.etherscan.io",
"explorer_chain_id": 560048,
"explorer_token_env_var": "ETHERSCAN_EXPLORER_TOKEN",
"github_repo": {
"url": "https://github.com/lidofinance/easy-track",
"commit": "0b6e57a91e4eaffbab71951f25ba97df8756c278",
"relative_root": ""
},
"dependencies": {},
"fail_on_bytecode_comparison_error": true,
"allowed_diffs": {
"source": {
"0x68009122a394504E8fD7fee58F92Cd73c6A60717": [
{
"reason": "Brownie verification rewrote the four relative imports ('../...') to project-root paths ('contracts/...') in SetDepositsReserveTarget.sol; the imported files themselves are identical.",
"line_ranges": [
{
"file": "contracts/EVMScriptFactories/SetDepositsReserveTarget.sol",
"github": {
"start": 6,
"count": 4
},
"explorer": {
"start": 6,
"count": 4
}
}
]
}
]
},
"bytecode": {
"0x68009122a394504E8fD7fee58F92Cd73c6A60717": [
{
"reason": "Only the CBOR metadata hash differs: brownie's import-path rewrite changes the source text, so the solc metadata hash cannot match. The executable bytecode is identical.",
"cbor_metadata": true
}
]
}
},
"bytecode_comparison": {
"constructor_calldata": {},
"constructor_args": {
"0x68009122a394504E8fD7fee58F92Cd73c6A60717": [
"00000000000000000000000084dffcfb232594975c608de92544ff239a24c9e9",
"0000000000000000000000000000000000000000000002086ac3510526000000",
"0000000000000000000000003508a952176b3c15387c97be809eaffb1982176a"
]
}
}
}
Loading