Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
kroist committed Dec 11, 2024
1 parent 805bacf commit 7e8c84c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/manual-deploy-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,9 @@ on:

jobs:
deploy-contracts:
name: Deploy contracts on testnet
name: Deploy contracts on ${{ github.event.inputs.environment }}
runs-on: [self-hosted, Linux, X64, medium]
steps:
- name: Print environment
run: |
echo "Environment:\"${{ github.event.inputs.environment }}\""
- name: GIT | Checkout
uses: actions/checkout@v4

Expand Down
5 changes: 4 additions & 1 deletion tooling-e2e-tests/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,12 @@ mtzero() {
####################################################################################################
#### CONTRACTS #####################################################################################
####################################################################################################
# we don't care about owner, so we use ${ALICE_PUBLIC_KEY} as owner placeholder
deploy_contracts() {
SHIELDER_CONTRACT_ADDRESS=$(
PRIVATE_KEY="${DEPLOYER_PRIVATE_KEY}" forge script DeployShielderScript \
PRIVATE_KEY="${DEPLOYER_PRIVATE_KEY}" \
OWNER_ADDRESS="${ALICE_PUBLIC_KEY}" \
forge script DeployShielderScript \
--rpc-url "${NODE_RPC_URL}" \
--broadcast \
--non-interactive \
Expand Down

0 comments on commit 7e8c84c

Please sign in to comment.