feat: polygon & base mainnet NTT configs#69
Merged
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cc26878. Configure here.
philbow61
approved these changes
May 7, 2026
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.

Summary
wormholeCoreBridgeaddresses required by the new chains.ConfigureNTTlogging so each peer block clearly shows direction (local -> remote), uses[+]/[=]markers to distinguish writes from skips, and prints rate-limit values with token-name units (e.g.500000 USDm).Note
Medium Risk
Updates cross-chain NTT topology and deployment/config scripts for additional mainnet chains, which can affect bridge peer/rate-limit setup if misconfigured. Mostly configuration/logging changes, but they touch production chain IDs and on-chain permission/ownership operations.
Overview
Extends Wormhole NTT topology to include Polygon and Base mainnet: adds chain ID constants and expands
USDm(adds Polygon) andEURm(adds Polygon + Base) chain/inbound-limit arrays inNTTConfig.sol.Updates
.treb/addressbook.jsonwithWormholeCoreBridgeentries for chain137(Polygon) and8453(Base), and reorders the existing143(Monad) section.Hardens deployment scripts:
DeployMockCollateralsnow mints1_000_000 * 10**decimalsinstead of assuming18decimals, andConfigureNTTlogging is reworked to clearly show per-peer direction, idempotent skips vs writes, and rate-limit units.Adjusts Trunk lint config to also ignore
checkovfindings for.treb/*.jsonandbroadcast/**/*.json.Reviewed by Cursor Bugbot for commit cc26878. Bugbot is set up for automated code reviews on this repo. Configure here.