Skip to content

refactor: bridges should not be opinionated on src/dst chains#2727

Closed
bmzig wants to merge 3 commits intobz/generalization1from
bz/refactorBridgeNames
Closed

refactor: bridges should not be opinionated on src/dst chains#2727
bmzig wants to merge 3 commits intobz/generalization1from
bz/refactorBridgeNames

Conversation

@bmzig
Copy link
Copy Markdown
Contributor

@bmzig bmzig commented Nov 12, 2025

Note: This PR only renames state variables/files/directories. As we move more toward any<->any rebalancing capabilities, we should separate the "opinionated" bridges from others. Bridges which only exist on one network and move to another, such as all the canonical L1/L2 bridges (ex CCTP, OFT), should instead be treated as directed edges and those which can move assets from any network to any other network should be undirected.

image

One obvious follow-up: All l2 bridges need to implement BaseBridgeAdapter instead of BaseL2BridgeAdapter (meaning the queryL2/L2Event functions need to be generalized).

Signed-off-by: Bennett <bennett@umaproject.org>
bmzig and others added 2 commits November 12, 2025 08:55
@bmzig bmzig closed this Apr 21, 2026
@bmzig bmzig deleted the bz/refactorBridgeNames branch April 21, 2026 15:35
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