keep-network / keep-core

The smart contracts and reference client behind the Keep network
https://keep.network
MIT License
118 stars 73 forks source link

Support deployment of v1 contracts on Sepolia #3712

Closed michalinacienciala closed 1 year ago

michalinacienciala commented 1 year ago

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 Sep 15, 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.

As part of the process we need to deploy the legacy Keep contracts on Sepolia. This PR contains changes needed for such deployment of the keep-core contracts. Package published using this code: https://www.npmjs.com/package/@keep-network/keep-core/v/1.8.1-sepolia.0.

Refs: https://github.com/threshold-network/solidity-contracts/issues/150