Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds operational deployment support for HopV2 across additional chains, updates Foundry config for Cancun-targeted builds, and replaces the README with detailed Hop V2 technical documentation and deployed-address references.
Changes:
- Introduces multiple chain-specific
DeployRemoteHopV2*.s.solscripts that configure per-chain endpoints/admins/EIDs/OFTs. - Refactors HopV2 deployment scripts to use
forge-stdscripting patterns and deterministic CREATE2 deployments (with hardcoded address assertions). - Updates
foundry.toml(EVM version + Base endpoints) and replacesREADME.mdwith expanded protocol documentation and a deployed-address table.
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| src/script/hop/DeployRemoteHopV2Worldchain.s.sol | Adds Worldchain remote HopV2 deployment parameters. |
| src/script/hop/DeployRemoteHopV2Unichain.s.sol | Adds Unichain remote HopV2 deployment parameters. |
| src/script/hop/DeployRemoteHopV2Sonic.s.sol | Adds Sonic remote HopV2 deployment parameters. |
| src/script/hop/DeployRemoteHopV2Sei.s.sol | Adds Sei remote HopV2 deployment parameters and custom verifier URL notes. |
| src/script/hop/DeployRemoteHopV2Scroll.s.sol | Adds Scroll remote HopV2 deployment parameters. |
| src/script/hop/DeployRemoteHopV2Optimism.s.sol | Adds Optimism remote HopV2 deployment parameters. |
| src/script/hop/DeployRemoteHopV2Mode.s.sol | Adds Mode remote HopV2 deployment parameters and verification instructions. |
| src/script/hop/DeployRemoteHopV2Linea.s.sol | Adds Linea remote HopV2 deployment parameters. |
| src/script/hop/DeployRemoteHopV2Katana.s.sol | Adds Katana remote HopV2 deployment parameters and verification instructions. |
| src/script/hop/DeployRemoteHopV2Ink.s.sol | Adds Ink remote HopV2 deployment parameters and verification instructions. |
| src/script/hop/DeployRemoteHopV2Hyperliquid.s.sol | Adds Hyperliquid remote HopV2 deployment parameters and Etherscan v2 verify instructions. |
| src/script/hop/DeployRemoteHopV2Berachain.s.sol | Adds Berachain remote HopV2 deployment parameters. |
| src/script/hop/DeployRemoteHopV2BSC.s.sol | Adds BSC remote HopV2 deployment parameters. |
| src/script/hop/DeployRemoteHopV2Avalanche.s.sol | Adds Avalanche remote HopV2 deployment parameters and RouteScan verifier URL. |
| src/script/hop/DeployRemoteHopV2.s.sol | Refactors the shared remote deployment script (Script-based broadcast + deterministic CREATE2 proxy flow + updated constants/validation). |
| src/script/hop/DeployFraxtalHopV2.s.sol | Refactors Fraxtal hub deployment script (Script-based broadcast + deterministic CREATE2 proxy flow). |
| foundry.toml | Pins default evm_version to Cancun; adds Base RPC endpoint + Basescan config. |
| README.md | Replaces README with comprehensive Hop V2 technical documentation and updated deployed addresses table. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- DeployRemoteHopV2ZkSync: zkEVM CREATE2 salts mined via create2crunch --zksync - DeployRemoteHopV2Abstract: same zkEVM salts (identical bytecodeHash) - DeployRemoteHopV2Hyperliquid: standard EVM CREATE2 (cancun salts) - All scripts override _deployRemoteHopV2() and _deployRemoteAdmin() - zkEVM expected addresses: impl 0x00000001Fc41bB036e7e894F70879F7cA8a4adFc, proxy 0x0000000175B6B4DDe153c7aE06E4F0b27eEe42DF, admin 0x0000000221a0682d34a635ecAa38C98b31EfFc51 - Added NatSpec docs with simulate/broadcast commands
…hyperliquid deploy zksync abstract hyperliquid
|
Aurora is left -- intentional? |
Ops/init sei remote hop v2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task to deploy and wire up all RemoteHopV2s to the FraxtalHopV2.
Task: submit tx to wire up currently deployed RemoteHops
0x00000000e18aFc20Afe54d4B2C8688bB60c06B36setRemoteHop(uint32, address)30110,0x0000006D38568b00B457580b734e0076C62de659(Arbitrum)30106,0x0000006D38568b00B457580b734e0076C62de659(Avalanche)30184,0x0000006D38568b00B457580b734e0076C62de659(Base)30362,0x0000006D38568b00B457580b734e0076C62de659(Berachain)30102,0x0000006D38568b00B457580b734e0076C62de659(BSC)30101,0x0000006D38568b00B457580b734e0076C62de659(Ethereum)30339,0x0000006D38568b00B457580b734e0076C62de659(Ink)30375,0x0000006D38568b00B457580b734e0076C62de659(Katana)30183,0x0000006D38568b00B457580b734e0076C62de659(Linea)30260,0x0000006D38568b00B457580b734e0076C62de659(Mode)30390,0x0000006D38568b00B457580b734e0076C62de659(Monad)30111,0x0000006D38568b00B457580b734e0076C62de659(Optimism)30370,0x0000006D38568b00B457580b734e0076C62de659(Plume)30109,0x0000006D38568b00B457580b734e0076C62de659(Polygon)30214,0x0000006D38568b00B457580b734e0076C62de659(Scroll)30280,0x0000006D38568b00B457580b734e0076C62de659(Sei)30332,0x0000006D38568b00B457580b734e0076C62de659(Sonic)30396,0x0000006D38568b00B457580b734e0076C62de659(Stable)30320,0x0000006D38568b00B457580b734e0076C62de659(Unichain)30319,0x0000006D38568b00B457580b734e0076C62de659(Worldchain)