Skip to content

Add bridge setup deployment script#188

Open
poszu wants to merge 1 commit into
mainfrom
chore/bridge-setup
Open

Add bridge setup deployment script#188
poszu wants to merge 1 commit into
mainfrom
chore/bridge-setup

Conversation

@poszu
Copy link
Copy Markdown
Contributor

@poszu poszu commented Apr 1, 2026

Summary

  • Adds deploy/03_BridgeSetup.sol script that configures the bridge and waitlist post-deployment:
    • Grants RELAYER_ROLE on the bridge to the waitlist contract
    • Approves tokens on the waitlist for bridge transfers
    • Updates validator config: keeps existing resilience and version, adds real validators, removes admin

Usage

forge script deploy/03_BridgeSetup.sol:BridgeSetup \
  --sig "run(address,address,address[],address[])" \
  <BRIDGE_PROXY> <WAITLIST> "[<TOKEN1>,<TOKEN2>]" "[<VALIDATOR1>,<VALIDATOR2>]" \
  --rpc-url $RPC_URL \
  --private-key $PRIVATE_KEY \
  --broadcast

🤖 Generated with Claude Code

Configures the bridge and waitlist post-deployment: grants RELAYER_ROLE
to the waitlist, approves tokens, and updates the validator set.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Base automatically changed from chore/contract-deployment to main April 27, 2026 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant