Skip to content

Commit

Permalink
Testnet & Devnet have switched to Sepolia
Browse files Browse the repository at this point in the history
WARNING: There are two contracts on Sepolia for each token (G-CRE &
GATE). Devnet & Testnet use the same GCRE contract however it has been
deployed twice and offchain workers for each network are configured
differently!

- ETHEREUM_NODE_URL in 1Password has been updated
- TESTNET_ETHEREUM_NODE_URL secret in GitHub has been updated
  • Loading branch information
atodorov authored and nathanwhit committed Jan 4, 2024
1 parent da32032 commit dc67b19
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion integration-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ yarn install
2. Execute the test suite:

```bash
export ETHEREUM_NODE_URL=https://goerli.infura.io/v3/abcdef
export ETHEREUM_NODE_URL=https://sepolia.infura.io/v3/abcdef
export LENDER_PRIVATE_KEY=XXXXXX
export BORROWER_PRIVATE_KEY=YYYY

Expand Down
4 changes: 2 additions & 2 deletions integration-tests/src/devnetSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ const setup = async () => {
(global as any).CREDITCOIN_METRICS_BASE = 'http://dev-rpc-creditcoin-rpc-2.centralus.cloudapp.azure.com:9615';
(global as any).CREDITCOIN_REUSE_EXISTING_ADDRESSES = true;

// This is on Goerli, https://goerli.etherscan.io/address/0x80C9A853B906fc4a30A5F9E4982F1F5AC1798cd0
(global as any).CREDITCOIN_CTC_CONTRACT_ADDRESS = '0x80C9A853B906fc4a30A5F9E4982F1F5AC1798cd0';
// This is on Goerli, https://sepolia.etherscan.io/address/0xa30fac8b364a2893927bd77fcea1279779e3586b
(global as any).CREDITCOIN_CTC_CONTRACT_ADDRESS = '0xa30fac8b364a2893927bd77fcea1279779e3586b';
// we need a new tx hash every time so we call .burn() in globalSetup()! See ctc-deploy.ts
(global as any).CREDITCOIN_CTC_BURN_TX_HASH = undefined;

Expand Down
4 changes: 2 additions & 2 deletions integration-tests/src/testnetSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ const setup = async () => {
(global as any).CREDITCOIN_METRICS_BASE = 'http://test-rpc-creditcoin-rpc-2.eastus.cloudapp.azure.com:9615';
(global as any).CREDITCOIN_REUSE_EXISTING_ADDRESSES = true;

// This is on Goerli, https://goerli.etherscan.io/address/0x833cc7c2598D80d327767De33B22ac426f4248e2
(global as any).CREDITCOIN_CTC_CONTRACT_ADDRESS = '0x833cc7c2598D80d327767De33B22ac426f4248e2';
// This is on Goerli, https://sepolia.etherscan.io/address/0x47c30768e4c153b40d55b90f58472bb2291971e6
(global as any).CREDITCOIN_CTC_CONTRACT_ADDRESS = '0x47c30768e4c153b40d55b90f58472bb2291971e6';
// we need a new tx hash every time so we call .burn() in globalSetup()! See ctc-deploy.ts
(global as any).CREDITCOIN_CTC_BURN_TX_HASH = undefined;

Expand Down

0 comments on commit dc67b19

Please sign in to comment.