Skip to content

cli: remove all SR related code#760

Merged
evgeniko merged 9 commits intomainfrom
cli_remove_sr_new
Dec 15, 2025
Merged

cli: remove all SR related code#760
evgeniko merged 9 commits intomainfrom
cli_remove_sr_new

Conversation

@evgeniko
Copy link
Copy Markdown
Contributor

  • remove all standard relaying related code from the CLI and deployment scripts as it is now handled by the executor
  • add hasExecutorDeployed function to check if the used chain has an Executoer deployed, otherwise ntt transfers won't be relayed

nvsriram
nvsriram previously approved these changes Dec 10, 2025
dvgui
dvgui previously approved these changes Dec 10, 2025
@evgeniko evgeniko dismissed stale reviews from dvgui and nvsriram via b8132cb December 10, 2025 16:49
nvsriram
nvsriram previously approved these changes Dec 10, 2025
kcsongor
kcsongor previously approved these changes Dec 15, 2025
@evgeniko evgeniko dismissed stale reviews from kcsongor and nvsriram via 2314550 December 15, 2025 14:13
@evgeniko evgeniko merged commit 9041448 into main Dec 15, 2025
9 of 11 checks passed
@evgeniko evgeniko deleted the cli_remove_sr_new branch December 15, 2025 17:31
dvgui pushed a commit that referenced this pull request Dec 15, 2025
dvgui pushed a commit that referenced this pull request Dec 24, 2025
dvgui added a commit that referenced this pull request Jan 21, 2026
* SR deprecation and tests removal

* cli: remove all SR related code (#760)

* Add Custom Consistency Level (CCL) support

- Add ICustomConsistencyLevel interface for on-chain CCL contract interaction
- Add ConfigMakers library to encode CCL configurations
- Update WormholeTransceiver to support CCL immutables and configuration
- Update deployment scripts to read CCL environment variables
- Add IntegrationCustomConsistency test suite with Sepolia testnet tests
- Update mock transceivers for backward compatibility
- All 180 tests pass including 3 new CCL tests

* update deployment scripts, envs and add an integ test

* update deployment scripts, envs and add an integ test

* fix: update SDK tests to remove relayer support and upgrade SDK to 4.9.0

- Remove IWormholeRelayer import from test utils
- Update WormholeTransceiver constructor calls with CCL parameters:
  * Remove relayer and specialRelayer addresses
  * Add customConsistencyLevel, addtlBlocks, customConsistencyLevelAddress
  * Use consistency level 201 (finalized) for testing
- Disable waitForRelay function (relayer support removed)
- Force manual receive for all transfers (automatic: false)
- Remove relayer contract configuration from Wormhole initialization
- Remove deprecated setIsWormholeEvmChain and setIsWormholeRelayingEnabled calls
- Update @wormhole-foundation/sdk to 4.9.0 to get MegaETH type definition
- Update .prettierignore to exclude dist directories

Note: Echidna tests verified - no changes needed as they use DummyTransceiver

* ci: use echidna-action v2

* fix: skip package-lock.json in Docker to avoid bun conflicts

* address comments

* update typings

* cli: Add Custom Consistency Level (CCL) support to add-chain command (#792)

- Add --unsafe-custom-finality flag with format 'level:blocks' (e.g., '200:5')
- Implement warning message and confirmation prompt for CCL usage
- Add network-specific CCL contract address mapping (Testnet: Sepolia, Linea)
- Update deployEvm() to pass CCL parameters via environment variables
- Add CCL configuration summary output after deployment
- Update getImmutables() to fetch CCL parameters from deployed contracts
- Remove outdated relayer references from validation.ts

Tested with successful deployments on Sepolia and Linea testnets with CCL 200:5 configuration.

* resolve final comments
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.

4 participants