From d627e72942a4c1237173860f5c14fbdf521596a7 Mon Sep 17 00:00:00 2001 From: 0xdeo <150629966+0xdeo@users.noreply.github.com> Date: Fri, 19 Jan 2024 11:55:44 -0500 Subject: [PATCH] fix: goerli references changed to sepolia (#54) --- .env.example | 4 ++-- .github/workflows/ci.yml | 2 +- README.md | 4 ++-- package.json | 2 +- solidity/scripts/Deploy.sol | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.env.example b/.env.example index aa5efdc2..fe295b73 100644 --- a/.env.example +++ b/.env.example @@ -1,7 +1,7 @@ MAINNET_RPC= MAINNET_DEPLOYER_PK= -GOERLI_RPC= -GOERLI_DEPLOYER_PK= +SEPOLIA_RPC= +SEPOLIA_DEPLOYER_PK= ETHERSCAN_API_KEY= diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d2f6a6c..24c3ea04 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,7 @@ jobs: run: | touch .env echo MAINNET_RPC="${{ secrets.MAINNET_RPC }}" >> .env - echo GOERLI_RPC="${{ secrets.GOERLI_RPC }}" >> .env + echo SEPOLIA_RPC="${{ secrets.SEPOLIA_RPC }}" >> .env cat .env - name: Run tests diff --git a/README.md b/README.md index 5b73ac8f..1d189147 100644 --- a/README.md +++ b/README.md @@ -91,10 +91,10 @@ yarn coverage Configure the `.env` variables. -### Goerli +### Sepolia ```bash -yarn deploy:goerli +yarn deploy:sepolia ``` ### Mainnet diff --git a/package.json b/package.json index 62807761..eb361873 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "build": "forge build", "build:optimized": "FOUNDRY_PROFILE=optimized forge build", "coverage": "forge coverage --match-contract Unit", - "deploy:goerli": "bash -c 'source .env && forge script DeployGoerli --rpc-url $GOERLI_RPC --broadcast --private-key $GOERLI_DEPLOYER_PK --verify --etherscan-api-key $ETHERSCAN_API_KEY'", + "deploy:sepolia": "bash -c 'source .env && forge script DeploySepolia --rpc-url $SEPOLIA_RPC --broadcast --private-key $SEPOLIA_DEPLOYER_PK --verify --etherscan-api-key $ETHERSCAN_API_KEY'", "deploy:mainnet": "bash -c 'source .env && forge script DeployMainnet --rpc-url $MAINNET_RPC --broadcast --private-key $MAINNET_DEPLOYER_PK --verify --etherscan-api-key $ETHERSCAN_API_KEY'", "lint:check": "yarn lint:sol-tests && yarn lint:sol-logic && forge fmt --check", "lint:fix": "sort-package-json && forge fmt && yarn lint:sol-tests --fix && yarn lint:sol-logic --fix", diff --git a/solidity/scripts/Deploy.sol b/solidity/scripts/Deploy.sol index 629ac029..a8238308 100644 --- a/solidity/scripts/Deploy.sol +++ b/solidity/scripts/Deploy.sol @@ -21,7 +21,7 @@ contract DeployMainnet is Deploy { } } -contract DeployGoerli is Deploy { +contract DeploySepolia is Deploy { function run() external { IERC20 weth = IERC20(0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6);