Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(scratch deploy): mvp of local scratch deployment #790

Merged
merged 51 commits into from
Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e156f08
feat(scratch deploy): mvp of local scratch deployment
arwer13 Sep 11, 2023
b40c7ca
feat(scratch deploy): goerli mvp setup
arwer13 Sep 12, 2023
d85d630
scratch deploy docs little improvements
arwer13 Sep 15, 2023
344b53b
fix(scratch deploy): restore 12-check-dao in scratch deploy
arwer13 Sep 18, 2023
4e44a59
fix(scratch deploy): missing STAKING_MODULE_ROLE in LidoTemplate
arwer13 Sep 18, 2023
96c8024
deploy to goerli for debug purposes under new "goerlidebug" network
arwer13 Sep 18, 2023
632702d
add boilerplate for scratch acceptance test
arwer13 Sep 18, 2023
c1a6166
fix goerlidebug genesis time and redeploy
arwer13 Oct 2, 2023
f4e46fa
bump hardhat-etherscan: ^2.1.8 -> ^3.1.7
arwer13 Oct 2, 2023
f0853b0
feat(scratch): improve console output (a.o. log every tx)
arwer13 Oct 2, 2023
ce597d3
chore(scratch): cleanup here and there
arwer13 Oct 2, 2023
6c5c26b
feat(scratch): set testnets voting times to 15/5 minutes
arwer13 Oct 2, 2023
740b982
feat(scratch): update testnets vesting params - 3 EOAs only, no vesting
arwer13 Oct 2, 2023
36c103a
feat(scratch): plug curated staking module on deploy
arwer13 Oct 2, 2023
352ba49
feat(scratch): transfer all ownership to Agent at the end
arwer13 Oct 2, 2023
dd9b7d1
feat(scratch): add holesky network setup
arwer13 Oct 2, 2023
ccf00e5
feat(scratch): keep explicit DummyEmptyContract entry in deployed-x.json
arwer13 Oct 2, 2023
8269b77
docs(scratch): update readme
arwer13 Oct 2, 2023
efb0d56
feat(scratch): massive work on the deploy and verification scripts
arwer13 Oct 3, 2023
f9bdfd0
fix(scratch): fields in LidoLocator.implementation
arwer13 Oct 3, 2023
83329b4
fix(scratch): missing } type
arwer13 Oct 3, 2023
8c0e82e
feat(scratch): add deployed-holesky.json
arwer13 Oct 3, 2023
4c66f09
refactor: etherscan verification script
arwer13 Oct 3, 2023
1ef0e4d
fix(scratch acceptance test): reading ldo address from state
arwer13 Oct 3, 2023
957fcb8
fix: withdrawal flow test
TheDZhon Oct 3, 2023
60942b1
fix: more robust finalization
TheDZhon Oct 3, 2023
d6972bd
fix: add deployed simple dvt proxy info
krogla Oct 3, 2023
1777131
refactor verify-contracts-code
arwer13 Oct 3, 2023
1940033
Merge branch 'feat/scratch-holesky' of github.com:lidofinance/lido-da…
krogla Oct 4, 2023
945bc35
fix(deployed-holesky.json): LDO ctor arg (parentSnapShotBlock)
arwer13 Oct 4, 2023
29f9490
fix: simpledvt params
krogla Oct 9, 2023
7b78221
feat(deployed-holesky.json): add missing addresses and parameters
arwer13 Oct 9, 2023
9474397
fix: transfer OracleDaemonConfig admin role to agent
arwer13 Oct 10, 2023
1cd079d
feat: set OracleDaemonConfig params upon deployment
arwer13 Oct 10, 2023
085a60f
fix: deployment when specified gateSealFactory is zero address
arwer13 Oct 10, 2023
517c01d
feat(deployed-holesky.json): add Aragon std apps Repo addresses
arwer13 Oct 10, 2023
470e9f6
fix(deployed-holesky): oracle and NOR repo addresses
arwer13 Oct 10, 2023
d66db72
refactor(deployed-x.json): 'owner' and 'multisigAddress' --> 'deployer'
arwer13 Oct 10, 2023
653f78a
refactor(deployed-testnet-defaults.json): use `null` for unspecified
arwer13 Oct 10, 2023
eda1672
refactor: clean-up part of obsolete docs and scripts
arwer13 Oct 11, 2023
c860aeb
refactor: unify deployed-xxx.json format
arwer13 Oct 11, 2023
fe1cf4d
refactor: more cleaning up, moving files, updating docs
arwer13 Oct 12, 2023
029cc9e
refactor: sort keys in deployed-x.json alphabetically
arwer13 Oct 20, 2023
d215e08
refactor(scratch deploy): remove more obsolete code
arwer13 Oct 23, 2023
33f6be9
refactor(scratch deploy): persistNetworkState2 and deployed-x.json fmt
arwer13 Oct 24, 2023
21bad5b
code review: small fixes here and there
arwer13 Oct 24, 2023
1f2b68a
feat(scratch-deploy): vest Agent with enough LDO to vote
arwer13 Oct 27, 2023
e9071f5
feat(scratch deploy): count total gas used
arwer13 Oct 29, 2023
d862c79
refactor(scratch deploy): update scripts numerical prefixes
arwer13 Oct 29, 2023
93c8ed3
feat(scratch deploy): update ACL setup to match mainnet more
arwer13 Oct 31, 2023
33e085b
feat(scratch deploy): add check of non-aragon permissions
arwer13 Oct 31, 2023
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ cli/vendor
# e2e temp data
/deployed-e2e.json

/deployed-local.json

# OS relative
.DS_Store

Expand Down
84 changes: 0 additions & 84 deletions SCRATCH_DEPLOY.md

This file was deleted.

169 changes: 88 additions & 81 deletions artifacts.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,32 @@
[
{
"artifactPath": "artifacts/contracts/0.8.9/proxy/OssifiableProxy.sol/OssifiableProxy.json",
"sourcePath": "contracts/0.8.9/proxy/OssifiableProxy.sol",
"name": "OssifiableProxy",
"address": "0x852deD011285fe67063a08005c71a85690503Cee",
"txHash": "0x3def88f27741216b131de2861cf89af2ca2ac4242b384ee33dca8cc70c51c8dd"
},
{
"artifactPath": "artifacts/contracts/0.8.9/oracle/AccountingOracle.sol/AccountingOracle.json",
"sourcePath": "contracts/0.8.9/oracle/AccountingOracle.sol",
"name": "AccountingOracle",
"address": "0xF3c5E0A67f32CF1dc07a8817590efa102079a1aF",
"txHash": "0x3e27627d3ed236aff8901df187196e9682187dfd0d259c5d5811a6e923436083"
},
{
"artifactPath": "artifacts/contracts/0.4.24/Lido.sol/Lido.json",
"sourcePath": "contracts/0.4.24/Lido.sol",
"name": "Lido",
"address": "0x17144556fd3424EDC8Fc8A4C940B2D04936d17eb",
"txHash": "0xb4b5e02643c9802fd0f7c73c4854c4f1b83497aca13f8297ba67207b71c4dcd9"
},
{
"artifactPath": "artifacts/contracts/0.4.24/nos/NodeOperatorsRegistry.sol/NodeOperatorsRegistry.json",
"sourcePath": "contracts/0.4.24/nos/NodeOperatorsRegistry.sol",
"name": "NodeOperatorsRegistry",
"address": "0x8538930c385C0438A357d2c25CB3eAD95Ab6D8ed",
"txHash": "0xbec5b6ffb8fbc775a183e25cd285367993d7201752e1638a07abec8962bab750"
},
{
"artifactPath": "artifacts/contracts/0.4.24/oracle/LegacyOracle.sol/LegacyOracle.json",
"sourcePath": "contracts/0.4.24/oracle/LegacyOracle.sol",
Expand All @@ -14,18 +35,25 @@
"txHash": "0xe666e3ce409bb4c18e1016af0b9ed3495b20361a69f2856bccb9e67599795b6f"
},
{
"artifactPath": "artifacts/contracts/0.4.24/nos/NodeOperatorsRegistry.sol/NodeOperatorsRegistry.json",
"sourcePath": "contracts/0.4.24/nos/NodeOperatorsRegistry.sol",
"name": "NodeOperatorsRegistry",
"address": "0x8538930c385C0438A357d2c25CB3eAD95Ab6D8ed",
"txHash": "0xbec5b6ffb8fbc775a183e25cd285367993d7201752e1638a07abec8962bab750"
"artifactPath": "artifacts/contracts/0.8.9/Burner.sol/Burner.json",
"sourcePath": "contracts/0.8.9/Burner.sol",
"name": "Burner",
"address": "0xD15a672319Cf0352560eE76d9e89eAB0889046D3",
"txHash": "0xbebf5c85404a0d8e36b859046c984fdf6dd764b5d317feb7eb3525016005b1d9"
},
{
"artifactPath": "artifacts/contracts/0.6.12/WstETH.sol/WstETH.json",
"sourcePath": "contracts/0.6.12/WstETH.sol",
"name": "WstETH",
"address": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"txHash": "0xaf2c1a501d2b290ef1e84ddcfc7beb3406f8ece2c46dee14e212e8233654ff05"
"artifactPath": "artifacts/contracts/0.8.9/DepositSecurityModule.sol/DepositSecurityModule.json",
"sourcePath": "contracts/0.8.9/DepositSecurityModule.sol",
"name": "DepositSecurityModule",
"address": "0xC77F8768774E1c9244BEed705C4354f2113CFc09",
"txHash": "0x21307a2321f167f99de11ccec86d7bdd8233481bbffa493e15c519ca8d662c4f"
},
{
"artifactPath": "artifacts/contracts/0.8.9/EIP712StETH.sol/EIP712StETH.json",
"sourcePath": "contracts/0.8.9/EIP712StETH.sol",
"name": "EIP712StETH",
"address": "0x8F73e4C2A6D852bb4ab2A45E6a9CF5715b3228B7",
"txHash": "0xecb5010620fb13b0e2bbc98b8a0c82de0d7385491452cd36cf303cd74216ed91"
},
{
"artifactPath": "artifacts/contracts/0.8.9/LidoExecutionLayerRewardsVault.sol/LidoExecutionLayerRewardsVault.json",
Expand All @@ -34,34 +62,13 @@
"address": "0x388C818CA8B9251b393131C08a736A67ccB19297",
"txHash": "0xd72cf25e4a5fe3677b6f9b2ae13771e02ad66f8d2419f333bb8bde3147bd4294"
},
{
"artifactPath": "artifacts/contracts/0.8.9/Burner.sol/Burner.json",
"sourcePath": "contracts/0.8.9/Burner.sol",
"name": "Burner",
"address": "0xD15a672319Cf0352560eE76d9e89eAB0889046D3",
"txHash": "0xbebf5c85404a0d8e36b859046c984fdf6dd764b5d317feb7eb3525016005b1d9"
},
{
"artifactPath": "artifacts/contracts/0.8.9/oracle/HashConsensus.sol/HashConsensus.json",
"sourcePath": "contracts/0.8.9/oracle/HashConsensus.sol",
"name": "HashConsensus",
"address": "0xD624B08C83bAECF0807Dd2c6880C3154a5F0B288",
"txHash": "0xd74dcca9bacede9f332d70562f49808254061853937ffbbfc7397ab5d017041a"
},
{
"artifactPath": "artifacts/contracts/0.8.9/proxy/OssifiableProxy.sol/OssifiableProxy.json",
"sourcePath": "contracts/0.8.9/proxy/OssifiableProxy.sol",
"name": "OssifiableProxy",
"address": "0x852deD011285fe67063a08005c71a85690503Cee",
"txHash": "0x3def88f27741216b131de2861cf89af2ca2ac4242b384ee33dca8cc70c51c8dd"
},
{
"artifactPath": "artifacts/contracts/0.8.9/oracle/AccountingOracle.sol/AccountingOracle.json",
"sourcePath": "contracts/0.8.9/oracle/AccountingOracle.sol",
"name": "AccountingOracle",
"address": "0xF3c5E0A67f32CF1dc07a8817590efa102079a1aF",
"txHash": "0x3e27627d3ed236aff8901df187196e9682187dfd0d259c5d5811a6e923436083"
},
{
"artifactPath": "artifacts/contracts/0.8.9/oracle/HashConsensus.sol/HashConsensus.json",
"sourcePath": "contracts/0.8.9/oracle/HashConsensus.sol",
Expand All @@ -73,22 +80,29 @@
"artifactPath": "artifacts/contracts/0.8.9/proxy/OssifiableProxy.sol/OssifiableProxy.json",
"sourcePath": "contracts/0.8.9/proxy/OssifiableProxy.sol",
"name": "OssifiableProxy",
"address": "0x0De4Ea0184c2ad0BacA7183356Aea5B8d5Bf5c6e",
"txHash": "0xef3eea1523d2161c2f36ba61e327e3520231614c055b8a88c7f5928d18e423ea"
"address": "0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb",
"txHash": "0x3a2910624533935cc8c21837b1705bcb159a760796930097016186be705cc455"
},
{
"artifactPath": "artifacts/contracts/0.8.9/oracle/ValidatorsExitBusOracle.sol/ValidatorsExitBusOracle.json",
"sourcePath": "contracts/0.8.9/oracle/ValidatorsExitBusOracle.sol",
"name": "ValidatorsExitBusOracle",
"address": "0xA89Ea51FddE660f67d1850e03C9c9862d33Bc42c",
"txHash": "0x5ab545276f78a72a432c3e971c96384973abfab6394e08cb077a006c25aef7a7"
"artifactPath": "artifacts/contracts/0.8.9/LidoLocator.sol/LidoLocator.json",
"sourcePath": "contracts/0.8.9/LidoLocator.sol",
"name": "LidoLocator",
"address": "0x1D920cc5bACf7eE506a271a5259f2417CaDeCE1d",
"txHash": "0xf90012ef0a40e47c909ab3a5b3503ecee78f6a9be134d1349a742e500d37ae33"
},
{
"artifactPath": "artifacts/contracts/0.8.9/DepositSecurityModule.sol/DepositSecurityModule.json",
"sourcePath": "contracts/0.8.9/DepositSecurityModule.sol",
"name": "DepositSecurityModule",
"address": "0xC77F8768774E1c9244BEed705C4354f2113CFc09",
"txHash": "0x21307a2321f167f99de11ccec86d7bdd8233481bbffa493e15c519ca8d662c4f"
"artifactPath": "artifacts/contracts/0.4.24/template/LidoTemplate.sol/LidoTemplate.json",
"sourcePath": "contracts/0.4.24/template/LidoTemplate.sol",
"name": "LidoTemplate",
"address": "0x752350797CB92Ad3BF1295Faf904B27585e66BF5",
"txHash": "0xdcd4ebe028aa3663a1fe8bbc92ae8489045e29d2a6ef5284083d9be5c3fa5f19"
},
{
"artifactPath": "artifacts/contracts/0.8.9/OracleDaemonConfig.sol/OracleDaemonConfig.json",
"sourcePath": "contracts/0.8.9/OracleDaemonConfig.sol",
"name": "OracleDaemonConfig",
"address": "0xbf05A929c3D7885a6aeAd833a992dA6E5ac23b09",
"txHash": "0xa4f380b8806f5a504ef67fce62989e09be5a48bf114af63483c01c22f0c9a36f"
},
{
"artifactPath": "artifacts/contracts/0.8.9/sanity_checks/OracleReportSanityChecker.sol/OracleReportSanityChecker.json",
Expand All @@ -98,11 +112,32 @@
"txHash": "0x700c83996ad7deefda286044280ad86108dfef9c880909bd8e75a3746f7d631c"
},
{
"artifactPath": "artifacts/contracts/0.8.9/OracleDaemonConfig.sol/OracleDaemonConfig.json",
"sourcePath": "contracts/0.8.9/OracleDaemonConfig.sol",
"name": "OracleDaemonConfig",
"address": "0xbf05A929c3D7885a6aeAd833a992dA6E5ac23b09",
"txHash": "0xa4f380b8806f5a504ef67fce62989e09be5a48bf114af63483c01c22f0c9a36f"
"artifactPath": "artifacts/contracts/0.8.9/proxy/OssifiableProxy.sol/OssifiableProxy.json",
"sourcePath": "contracts/0.8.9/proxy/OssifiableProxy.sol",
"name": "OssifiableProxy",
"address": "0xFdDf38947aFB03C621C71b06C9C70bce73f12999",
"txHash": "0xb8620f04a8db6bb52cfd0978c6677a5f16011e03d4622e5d660ea6ba34c2b122"
},
{
"artifactPath": "artifacts/contracts/0.8.9/StakingRouter.sol/StakingRouter.json",
"sourcePath": "contracts/0.8.9/StakingRouter.sol",
"name": "StakingRouter",
"address": "0xD8784e748f59Ba711fB5643191Ec3fAdD50Fb6df",
"txHash": "0xd6d489f22203c835da6027ff0e532a01a08f36f0fda6c7c0a42e471ae3b3c461"
},
{
"artifactPath": "artifacts/contracts/0.8.9/proxy/OssifiableProxy.sol/OssifiableProxy.json",
"sourcePath": "contracts/0.8.9/proxy/OssifiableProxy.sol",
"name": "OssifiableProxy",
"address": "0x0De4Ea0184c2ad0BacA7183356Aea5B8d5Bf5c6e",
"txHash": "0xef3eea1523d2161c2f36ba61e327e3520231614c055b8a88c7f5928d18e423ea"
},
{
"artifactPath": "artifacts/contracts/0.8.9/oracle/ValidatorsExitBusOracle.sol/ValidatorsExitBusOracle.json",
"sourcePath": "contracts/0.8.9/oracle/ValidatorsExitBusOracle.sol",
"name": "ValidatorsExitBusOracle",
"address": "0xA89Ea51FddE660f67d1850e03C9c9862d33Bc42c",
"txHash": "0x5ab545276f78a72a432c3e971c96384973abfab6394e08cb077a006c25aef7a7"
},
{
"artifactPath": "artifacts/contracts/0.8.9/proxy/OssifiableProxy.sol/OssifiableProxy.json",
Expand All @@ -126,39 +161,11 @@
"txHash": "0xd9eb2eca684770e4d2b192709b6071875f75072a0ce794a582824ee907a704f3"
},
{
"artifactPath": "artifacts/contracts/0.8.9/EIP712StETH.sol/EIP712StETH.json",
"sourcePath": "contracts/0.8.9/EIP712StETH.sol",
"name": "EIP712StETH",
"address": "0x8F73e4C2A6D852bb4ab2A45E6a9CF5715b3228B7",
"txHash": "0xecb5010620fb13b0e2bbc98b8a0c82de0d7385491452cd36cf303cd74216ed91"
},
{
"artifactPath": "artifacts/contracts/0.8.9/proxy/OssifiableProxy.sol/OssifiableProxy.json",
"sourcePath": "contracts/0.8.9/proxy/OssifiableProxy.sol",
"name": "OssifiableProxy",
"address": "0xFdDf38947aFB03C621C71b06C9C70bce73f12999",
"txHash": "0xb8620f04a8db6bb52cfd0978c6677a5f16011e03d4622e5d660ea6ba34c2b122"
},
{
"artifactPath": "artifacts/contracts/0.8.9/StakingRouter.sol/StakingRouter.json",
"sourcePath": "contracts/0.8.9/StakingRouter.sol",
"name": "StakingRouter",
"address": "0xD8784e748f59Ba711fB5643191Ec3fAdD50Fb6df",
"txHash": "0xd6d489f22203c835da6027ff0e532a01a08f36f0fda6c7c0a42e471ae3b3c461"
},
{
"artifactPath": "artifacts/contracts/0.8.9/proxy/OssifiableProxy.sol/OssifiableProxy.json",
"sourcePath": "contracts/0.8.9/proxy/OssifiableProxy.sol",
"name": "OssifiableProxy",
"address": "0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb",
"txHash": "0x3a2910624533935cc8c21837b1705bcb159a760796930097016186be705cc455"
},
{
"artifactPath": "artifacts/contracts/0.8.9/LidoLocator.sol/LidoLocator.json",
"sourcePath": "contracts/0.8.9/LidoLocator.sol",
"name": "LidoLocator",
"address": "0x1D920cc5bACf7eE506a271a5259f2417CaDeCE1d",
"txHash": "0xf90012ef0a40e47c909ab3a5b3503ecee78f6a9be134d1349a742e500d37ae33"
"artifactPath": "artifacts/contracts/0.6.12/WstETH.sol/WstETH.json",
"sourcePath": "contracts/0.6.12/WstETH.sol",
"name": "WstETH",
"address": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"txHash": "0xaf2c1a501d2b290ef1e84ddcfc7beb3406f8ece2c46dee14e212e8233654ff05"
},
{
"artifactPath": "artifacts/contracts/0.6.11/deposit_contract.sol/DepositContract.json",
Expand Down
37 changes: 0 additions & 37 deletions cli/Makefile

This file was deleted.

4 changes: 0 additions & 4 deletions cli/build/SHA256SUM

This file was deleted.

Binary file removed cli/build/lido-aragon_darwin_amd64
Binary file not shown.
Binary file removed cli/build/lido-aragon_darwin_arm64
Binary file not shown.
Binary file removed cli/build/lido-aragon_linux_amd64
Binary file not shown.
Binary file removed cli/build/lido-aragon_linux_arm64
Binary file not shown.
30 changes: 0 additions & 30 deletions cli/cmd/node.go

This file was deleted.

Loading
Loading