Skip to content

Commit

Permalink
Improve deployment script; deploy new QueryClient on dev-1 (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanRHall authored Jan 23, 2025
1 parent 37760fa commit 25d0eda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DEPLOY_FLAGS=--verify ${BASE_DEPLOY_FLAGS}
MAINNET_DEPLOYER=--account lpn_owner

# Define chains
CHAINS=anvil sepolia dev-0 dev-1 dev-2 dev-3 holesky mainnet base_sepolia base fraxtal_testnet fraxtal mantle_sepolia mantle polygon_zkevm scroll scroll_sepolia
CHAINS=anvil sepolia holesky mainnet base_sepolia base fraxtal_testnet fraxtal mantle_sepolia mantle polygon_zkevm scroll scroll_sepolia

# Find all .s.sol files in the scripts directory and its subdirectories
SCRIPT_FILES := $(shell find ./script -name '*.s.sol' -type f -not -path "./script/output/*")
Expand Down Expand Up @@ -60,7 +60,7 @@ $(1)_$(2):
$(if $(filter mantle%,$(2)),$(call switch-evm-version),)
$(if $(findstring dev-,$(2)),$(eval SALT=S2_$(2)),$(eval SALT=V1_REG_0))

script/util/copy-verifier.sh $(2)
script/util/copy-verifier.sh $(ENV)
CHAIN_ALIAS=$(2) SALT=$(SALT) forge script $(1) --rpc-url $(2) $${DEPLOY_FLAGS} $${CHAIN_FLAGS} $${DEPLOYER_FLAGS} $(ARGS)
$(if $(filter mantle%,$(2)),$(call restore-evm-version),)
endef
Expand Down
2 changes: 1 addition & 1 deletion script/output/dev-1/holesky/v1-deployment.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"addresses": {
"queryClientImpl": "0x214982c3055d3204ce9D6AD0d73F64d5Ea51eFDe",
"queryClientImpl": "0x91e753006C0ba7330A1214594600f6DE07e010Fc",
"queryClientProxy": "0xB434eCFeF24dEaf1ffF7afa304f5B8cDa546f850",
"registryImpl": "0x49Ed846F4cfb78B3AF6ff060ea61E46E97B29e91",
"registryProxy": "0xa03b2924Dcb629Aa0Efc0Bb1e1Fc8758b31A2bf3"
Expand Down
4 changes: 2 additions & 2 deletions script/util/copy-verifier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ case "$ENV" in
VERIFIER_SOL_URL="https://pub-bca6985bd0e849b5b8840edc0b7f9e15.r2.dev"
ENV_FOLDER_NAME="dev-3"
;;
test | base_sepolia | fraxtal_testnet | holesky | scroll_sepolia)
test)
VERIFIER_SOL_URL="https://pub-fbb5db8dc9ee4e8da9daf13e07d27c24.r2.dev"
ENV_FOLDER_NAME="test"
;;
prod | base | fraxtal | mantle | polygon_zkevm | scroll | mainnet)
prod)
VERIFIER_SOL_URL="https://pub-fbb5db8dc9ee4e8da9daf13e07d27c24.r2.dev"
ENV_FOLDER_NAME="prod"
;;
Expand Down

0 comments on commit 25d0eda

Please sign in to comment.