Skip to content

Comments

update hardhat task: set-safe-wallet#333

Merged
theo-learner merged 1 commit intomainfrom
feat/update-set-safe-wallet
Apr 18, 2025
Merged

update hardhat task: set-safe-wallet#333
theo-learner merged 1 commit intomainfrom
feat/update-set-safe-wallet

Conversation

@theo-learner
Copy link
Member

I updated hardhat task: set-safe-wallet

  • Use environment variables instead of arguments
  • Error handling
  • Fix lint

ENVs (template)

# private key of safe wallet owner (admin)
export PRIVATE_KEY=
export NATIVE_TOKEN=
export ADDRESS_MANAGER=
export L1_CROSS_DOMAIN_MESSENGER=
export L1_STANDARD_BRIDGE=
export OPTIMISM_PORTAL=
export L2_OUTPUT_ORACLE=
# address of safe wallet
export SAFE_WALLET_ADDRESS=
export L1_URL=
export L2_URL=

Test

Before:

npx hardhat set-safe-wallet --rpc ${L1_URL} --chainid ${L1_CHAINID} --privatekey ${ADMIN_PRIVATE_KEY} --address ${SAFE_WALLET_ADDRESS}

After:

npx hardhat set-safe-wallet

@github-actions
Copy link
Contributor

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Apr 18, 2025
@theo-learner theo-learner merged commit ca10265 into main Apr 18, 2025
14 of 15 checks passed
Zena-park pushed a commit that referenced this pull request Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants