Skip to content

feat(script): add deploy and validate scripts for UniswapWormholeMessageReceiver#42

Open
codyborn wants to merge 2 commits into
uniswapfoundation:mainfrom
codyborn:add-deploy-validate-scripts
Open

feat(script): add deploy and validate scripts for UniswapWormholeMessageReceiver#42
codyborn wants to merge 2 commits into
uniswapfoundation:mainfrom
codyborn:add-deploy-validate-scripts

Conversation

@codyborn

Copy link
Copy Markdown

Summary

  • Adds DeployUniswapWormholeMessageReceiver.s.sol: Forge script to deploy the UniswapWormholeMessageReceiver contract with Tempo defaults (Wormhole core, sender address, chain ID 68) and env var overrides for WORMHOLE_ADDRESS, MESSAGE_SENDER_ADDRESS, and CHAIN_ID
  • Adds ValidateUniswapWormholeMessageReceiver.s.sol: Forge script to validate a deployed receiver's constants, config immutables (messageSender, chainId), and initial state (nextMinimumSequence)
  • Adds foundry.lock for reproducible dependency resolution

Test plan

  • Run deploy script against a local/test RPC: forge script script/DeployUniswapWormholeMessageReceiver.s.sol --rpc-url <RPC> --broadcast
  • Run validate script against a deployed receiver: RECEIVER_ADDRESS=0x... forge script script/ValidateUniswapWormholeMessageReceiver.s.sol --rpc-url <RPC>
  • Verify validation passes with expected Tempo defaults

🤖 Generated with Claude Code

codyborn and others added 2 commits March 17, 2026 16:31
…ageReceiver

Add Forge scripts for deploying and validating the UniswapWormholeMessageReceiver
contract on Tempo. The deploy script uses sensible defaults (Tempo Wormhole core,
sender address, chain ID 68) with env var overrides. The validate script checks
constants, config immutables, and initial state of a deployed receiver.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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