Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(AdapterManager): define base chain adapters programmatically #1967

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

bmzig
Copy link
Contributor

@bmzig bmzig commented Dec 23, 2024

This is the last change of code needed to fully switch to generic adapters. It was delayed so that these new base chain adapters would be out in the wild for long enough such that it is unlikely for them to contain any critical issues. This PR will effectively make all of the named adapters (e.g. ZKSyncAdapter, ArbitrumAdapter, CCTPAdapter, BaseAdapter, etc.) in src/client/bridges unused code (to be deleted in a follow-up), and also make the entire op-stack directory unused.

To be clear, there is still a substantial amount of code which needs to be removed, but all further follow-up removals will have no affect on the bots, since we would be removing code which is only touched in out-of-date unit tests.

src/clients/bridges/AdapterManager.ts Show resolved Hide resolved
@bmzig bmzig merged commit 38ef563 into master Jan 6, 2025
4 checks passed
@bmzig bmzig deleted the bz/defineSpokeClients branch January 6, 2025 15:57
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