-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #605 from threshold-network/support-sepolia
Support deployment on Sepolia
- Loading branch information
Showing
27 changed files
with
412 additions
and
410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,46 +41,45 @@ To make sure the changes made in local depository of `components` lib are implem | |
|
||
`yarn add-components-lib` | ||
|
||
# Run T dapp against the Görli network | ||
# Run T dapp against the Sepolia network | ||
|
||
## Update the `.env` file: | ||
|
||
``` | ||
REACT_APP_SUPPORTED_CHAIN_ID=5 | ||
REACT_APP_SUPPORTED_CHAIN_ID=11155111 | ||
REACT_APP_ETH_HOSTNAME_HTTP=<your http ETH hostname- eg. Infura> | ||
REACT_APP_ETH_HOSTNAME_WS=<your ws ETH hostname- eg. Infura> | ||
// We can skip this env variable- the dapp uses the correct address | ||
// of Multicall contract for Görli under the hood. | ||
// of Multicall contract for Sepolia under the hood. | ||
REACT_APP_MULTICALL_ADDRESS=$MULTICALL_ADDRESS | ||
``` | ||
|
||
## Setup | ||
|
||
`yarn` | ||
|
||
## Install Görli contracts | ||
## Install Sepolia contracts | ||
|
||
``` | ||
yarn upgrade @keep-network/coverage-pools@goerli \ | ||
@keep-network/ecdsa@goerli \ | ||
@keep-network/keep-core@goerli \ | ||
@keep-network/keep-ecdsa@goerli \ | ||
@keep-network/random-beacon@goerli \ | ||
@keep-network/tbtc@goerli \ | ||
@keep-network/tbtc-v2@goerli \ | ||
@keep-network/tbtc-v2.ts@goerli \ | ||
@threshold-network/coverage-pools@npm:@keep-network/coverage-pools@goerli \ | ||
@threshold-network/solidity-contracts@goerli | ||
yarn upgrade @keep-network/coverage-pools@sepolia \ | ||
@keep-network/ecdsa@sepolia \ | ||
@keep-network/keep-core@sepolia \ | ||
@keep-network/keep-ecdsa@sepolia \ | ||
@keep-network/random-beacon@sepolia \ | ||
@keep-network/tbtc@sepolia \ | ||
@keep-network/tbtc-v2@sepolia \ | ||
@threshold-network/coverage-pools@npm:@keep-network/coverage-pools@sepolia \ | ||
@threshold-network/solidity-contracts@sepolia | ||
``` | ||
|
||
**NOTE 1:** We use the same Goerli versions for both | ||
**NOTE 1:** We use the same Sepolia versions for both | ||
`@keep-network/coverage-pools` and `@threshold-network/coverage-pools`, because | ||
we don't have the newest version of the package on Goerli network, only on the | ||
we don't have the v1 version of the package on Sepolia network, only on the | ||
Mainnet. | ||
|
||
**NOTE 2:** If you encounter an `expected manifest` error while executing this, | ||
then try providing an explicit version of the `keep-core` package: | ||
`@keep-network/[email protected]goerli.0` | ||
`@keep-network/[email protected]sepolia.0` | ||
The error is probably caused by a bug in Yarn: | ||
https://github.com/yarnpkg/yarn/issues/4731. | ||
|
||
|
@@ -111,7 +110,7 @@ The following procedure allows to deploy T token dashboard to production: | |
`releases/mainnet/<version>`. Release branch should never be merged to `main` | ||
and creating a PR with a release branch is not required. | ||
Dependencies and project version needs to be updated on the release branch. | ||
All `-dev`, `-goerli` dependencies need to be updated to mainnet versions. | ||
All `-dev`, `-sepolia` dependencies need to be updated to mainnet versions. | ||
See [this commit](https://github.com/threshold-network/token-dashboard/commit/5452b68886ebc514d941a087973dfa9ac3802a7e) | ||
for `v1.0.0` release as a good example. | ||
2. Preview of the release branch will be uploaded to `preview.dashboard.threshold.network` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export enum ChainID { | ||
Ethereum = 1, | ||
Goerli = 5, | ||
Sepolia = 11155111, | ||
Localhost = 1337, | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 21 additions & 21 deletions
42
...erli-artifacts/NuCypherStakingEscrow.json → ...olia-artifacts/NuCypherStakingEscrow.json
Large diffs are not rendered by default.
Oops, something went wrong.
44 changes: 22 additions & 22 deletions
44
...erli-artifacts/NuCypherStakingEscrow.json → ...olia-artifacts/NuCypherStakingEscrow.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.