-
Notifications
You must be signed in to change notification settings - Fork 26
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
Support deployment on Sepolia #605
Conversation
The Görli testnet currently used by Threshold/Keep for development purposes is planned to become deprecated with the end of year 2023. The testnet that is planned to replace it is called [Holešky](https://github.com/eth-clients/holesky), however it's not yet available - it's planned it will become widely accessible on Oct 1, 2023 ([source](https://everstake.one/blog/new-ethereum-testnet-holesky-all-you-need-to-know-now)). Switching our infrastructure to support new testnet is quite time consuming, so moving directly from Görli to Holešky may be quite risky, especially if there would be some delays in the date of Holešky genesis (not meeting the planned timelines is not a rare occurrence in the Ethereum space). As a solution, we decided to switch first to another testnet that is currently live - Sepolia. This testnet's EOL is planned for 2026, which gives us plenty of time to move to Holešky before Sepolia gets deprecated.
The Görli testnet currently used by Threshold/Keep for development purposes is planned to become deprecated with the end of year 2023. The testnet that is planned to replace it is called [Holešky](https://github.com/eth-clients/holesky), however it's not yet available - it's planned it will become widely accessible on Oct 1, 2023 ([source](https://everstake.one/blog/new-ethereum-testnet-holesky-all-you-need-to-know-now)). Switching our infrastructure to support new testnet is quite time consuming, so moving directly from Görli to Holešky may be quite risky, especially if there would be some delays in the date of Holešky genesis (not meeting the planned timelines is not a rare occurrence in the Ethereum space). As a solution, we decided to switch first to another testnet that is currently live - Sepolia. This testnet's EOL is planned for 2026, which gives us plenty of time to move to Holešky before Sepolia gets deprecated. Refs: threshold-network/solidity-contracts#150 keep-network/ci#48 threshold-network/solidity-contracts#151 keep-network/tbtc-v2#691 threshold-network/token-dashboard#605 - [ ] Update `TESTNET_ETH_CONTRACT_OWNER_PRIVATE_KEY` so that it is prefixed with `0x`
The Görli testnet currently used by Threshold/Keep for development purposes is planned to become deprecated with the end of year 2023. The testnet that is planned to replace it is called [Holešky](https://github.com/eth-clients/holesky), however it's not yet available - it's planned it will become widely accessible on Oct 1, 2023 ([source](https://everstake.one/blog/new-ethereum-testnet-holesky-all-you-need-to-know-now)). Switching our infrastructure to support new testnet is quite time consuming, so moving directly from Görli to Holešky may be quite risky, especially if there would be some delays in the date of Holešky genesis (not meeting the planned timelines is not a rare occurrence in the Ethereum space). As a solution, we decided to switch first to another testnet that is currently live - Sepolia. This testnet's EOL is planned for 2026, which gives us plenty of time to move to Holešky before Sepolia gets deprecated. Refs: threshold-network/solidity-contracts#150 keep-network/ci#48 threshold-network/solidity-contracts#151 keep-network/keep-core#3706 threshold-network/token-dashboard#605
In the commit `c58ee5c078cbe850e678b85a136a4841d1732615` we've started modificating Token Dashboard config to make it run on the Sepolia testnet. In this commit we continue that work. Some configs are still missing - we mark them as TODO.
The merkle drop contract was deployed on Sepolia under the `0x4621a14bbB5a53f79Ea532bdc032b8ACc383B153` address (https://sepolia.etherscan.io/address/0x4621a14bbB5a53f79Ea532bdc032b8ACc383B153).
The `SimplePreApplication` stub contract was deployed on Sepolia under the `0x471EA40981D278fb3Cb55587e94ac549aad1ACA9` address (https://sepolia.etherscan.io/address/0x471EA40981D278fb3Cb55587e94ac549aad1ACA9).
We're bringing back the functionality removed in commit 17e2a0b. Recently we've changed the dapp's `@keep-network/tbtc-v2.ts` dependency to `^2.3.0`, which results in the introduction of the `@threshold-network/[email protected]` package in the `yarn.lock`. That package contains a `prepare-dependencies.sh` script which sometimes causes problems during install/upgrade of the dapp dependencies. As a workaround we install dashboard dependencies with `--ignore-scripts` flag. This way we don't run the misbehaving script (we don't need to run it in this project). In order to run the postinstall scripts related strictly to the `@threshold-network/token-dashboard` project, we manually run the post-install script by executing `yarn run postinstall`.
30d39f9
to
cfaa912
Compare
The workaround for the `expected manifest` problem must resolve the specific version for both `sepolia` and `dapp-development-sepolia` tags, depending on the target environment.
cfaa912
to
acefbcb
Compare
Preview uploaded to https://preview.dashboard.test.threshold.network/support-sepolia/index.html. |
d8131a5
to
35b01ec
Compare
Preview uploaded to https://preview.dashboard.test.threshold.network/support-sepolia/index.html. |
1 similar comment
Preview uploaded to https://preview.dashboard.test.threshold.network/support-sepolia/index.html. |
Preview uploaded to https://preview.dashboard.test.threshold.network/support-sepolia/index.html. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🔥
Adds support for Sepolia in local development. The support for preview and deployed testnet version will be addressed in a separate PR. This wa done based on the pull request from T dashbaord repo, where we did the same: threshold-network/token-dashboard#605 (commit: `ae3a4342e79bd822a8db6504c351dd2259d01cfe`).
The Görli testnet currently used by Threshold/Keep for development purposes is planned to become deprecated with the end of year 2023. The testnet that is planned to replace it is called
Holešky, however it's not yet available - it's planned it will become widely accessible on Oct 1, 2023 (source). Switching our infrastructure to support new testnet is quite time consuming, so moving directly from Görli to Holešky may be quite risky, especially if there would be some delays in the date of Holešky genesis (not meeting the planned timelines is not a rare occurrence in the Ethereum space). As a solution, we decided to switch first to another testnet that is currently live - Sepolia. This testnet's EOL is planned for 2026, which gives us plenty of time to move to Holešky before Sepolia gets deprecated.
TODO:
0x4621a14bbB5a53f79Ea532bdc032b8ACc383B153
(deployed from themerkle-distribution
repo)0x471EA40981D278fb3Cb55587e94ac549aad1ACA9
(deployed usingsolidity-contracts/deploy/00_resolve_nucypher_pre_application.ts
, withfunc.skip
line commented out)NOTE: The PR will be left as draft until we have the client config switched to Sepolia
Refs:
threshold-network/solidity-contracts#150
keep-network/ci#48
threshold-network/solidity-contracts#151
keep-network/keep-core#3706
keep-network/tbtc-v2#691