From 41a1eca542f69754b5b747acbd2902f3f6a24685 Mon Sep 17 00:00:00 2001 From: Nenad Vitorovic Date: Mon, 29 Apr 2024 11:29:27 +0200 Subject: [PATCH] minor script adjustment --- virtual-testnets/src/contracts-staging/create-testnet.sh | 2 +- virtual-testnets/src/contracts-staging/deploy-command.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/virtual-testnets/src/contracts-staging/create-testnet.sh b/virtual-testnets/src/contracts-staging/create-testnet.sh index 17f8fb0..2c29676 100755 --- a/virtual-testnets/src/contracts-staging/create-testnet.sh +++ b/virtual-testnets/src/contracts-staging/create-testnet.sh @@ -41,4 +41,4 @@ RESPONSE=$(curl -s -X POST "$API_URL" -H "$CONTENT_TYPE" -H "$ACCESS_KEY" -d "$R # Extract and print the private RPC URI PRIVATE_RPC_URI=$(echo $RESPONSE | jq -r '.container.connectivityConfig.endpoints[] | select(.private==true) | .uri') -echo $PRIVATE_RPC_URI +echo $PRIVATE_RPC_URI \ No newline at end of file diff --git a/virtual-testnets/src/contracts-staging/deploy-command.sh b/virtual-testnets/src/contracts-staging/deploy-command.sh index 9dbd582..99594d9 100755 --- a/virtual-testnets/src/contracts-staging/deploy-command.sh +++ b/virtual-testnets/src/contracts-staging/deploy-command.sh @@ -2,6 +2,9 @@ cd $FOUNDRY_REPO || exit echo $ADMIN_ADDRESS + +VERIFICATION_URL=$VIRTUAL_NETWORK_RPC_URL/verify/etherscan + ## TODO: Your deployment command here: FOUNDRY_PROFILE=optimized \ forge script script/DeployCore.s.sol \