Skip to content

Commit

Permalink
remove the mentions of goerli, replace with sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
pscott committed Jan 7, 2025
1 parent 4a52eaf commit bf0791c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: "forge config"

- name: "Create env file"
run: "touch .env && echo GOERLI_RPC_URL=${{ secrets.GOERLI_RPC_URL }} >> .env"
run: "touch .env && echo SEPOLIA_RPC_URL=${{ secrets.SEPOLIA_RPC_URL }} >> .env"

- name: "Run the tests"
run: "yarn test"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"prettier": "prettier --write \"**/*.{json,md,sol,yml}\"",
"format": "yarn prettier",
"test": "forge test --optimize -vv",
"deploy-modules": "forge script script/ModulesSetup.s.sol:ModulesSetup --rpc-url $GOERLI_RPC_URL --optimize --broadcast --verify -vvvv",
"deploy-space": "forge script script/SpaceSetup.s.sol:SpaceSetup --rpc-url $GOERLI_RPC_URL --optimize --broadcast --verify -vvvv",
"deploy-modules": "forge script script/ModulesSetup.s.sol:ModulesSetup --rpc-url $SEPOLIA_RPC_URL --optimize --broadcast --verify -vvvv",
"deploy-space": "forge script script/SpaceSetup.s.sol:SpaceSetup --rpc-url $SEPOLIA_RPC_URL --optimize --broadcast --verify -vvvv",
"prepare": "husky install"
},
"lint-staged": {
Expand Down
8 changes: 4 additions & 4 deletions test/ForkedTests.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { Choice, IndexedStrategy, Strategy, UpdateSettingsCalldata } from "../sr
// Similar to "GasSnapshots.t.sol" except this uses a forked network
// solhint-disable-next-line max-states-count
contract ForkedTest is SpaceTest, SigUtils {
uint256 internal goerliFork;
uint256 internal sepoliaFork;

CompVotingStrategy internal compVotingStrategy;
CompToken internal compToken;
Expand Down Expand Up @@ -47,8 +47,8 @@ contract ForkedTest is SpaceTest, SigUtils {
function setUp() public virtual override {
super.setUp();

string memory GOERLI_RPC_URL = vm.envString("GOERLI_RPC_URL");
goerliFork = vm.createFork(GOERLI_RPC_URL);
string memory SEPOLIA_RPC_URL = vm.envString("SEPOLIA_RPC_URL");
sepoliaFork = vm.createFork(SEPOLIA_RPC_URL);

(voter2, key2) = makeAddrAndKey("Voter 2 Key");
(voter3, key3) = makeAddrAndKey("Voter 3 Key");
Expand Down Expand Up @@ -162,7 +162,7 @@ contract ForkedTest is SpaceTest, SigUtils {
}

function testFork_VoteAndProposeWithCompToken() public {
vm.selectFork(goerliFork);
vm.selectFork(sepoliaFork);

vm.roll(block.number + 1);

Expand Down

0 comments on commit bf0791c

Please sign in to comment.