feat!: remove deprecated chains Taiko, Swellchain, Corn, Superposition, Sophon, Botanix - #268
Merged
Merged
Conversation
…n, Sophon, Botanix
Bumps @lifi/types to 18.0.0-alpha.0 and removes the six deprecated chains:
- src/chains/supportedChains.evm.ts — the six chain definitions
- src/multicall.ts — six multicallAddresses entries
- src/chains/foundry.ts — six foundry-name entries
- src/coins/coins.ts — per-coin chains entries, the wrappedTokens blocks,
and the now-orphaned SOPH / WSOPH coin definitions
Also removes the BTCN ("Bitcorn") coin. It is Corn-only, so the removal
left it with an empty chains map. It is declared as `'BTCN' as CoinKey`
rather than a CoinKey member, so neither the compiler nor an enum grep
flags it — it was found by checking every coin for an empty chains map
after the sweep.
CoinKey.pBTC is kept and its comment corrected: it is deployed on
STA / TLO / ETH / BSC, not Botanix-only.
X Layer (XLY, 196) is deliberately untouched — temporary commercial
disable, not a deprecation.
Verification: pnpm build green. Test failures are pre-existing and
network-bound — unmodified main fails the same 6 files with 18 failing
tests, this branch fails 14 (removing the chains also drops 4 flaky
live-RPC checks). No failure references a removed chain.
BREAKING CHANGE: chain definitions, multicall addresses, foundry names and
coin/wrappedToken entries for Taiko, Swellchain, Corn, Superposition,
Sophon and Botanix are removed, along with the SOPH, WSOPH and BTCN coins.
Requires @lifi/types 18.x.
Ref: EXBE-502
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Picks up destinationAction QuoteRequest params from types 17.90.0, which lifi-backend's develop depends on. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
melianessa
marked this pull request as ready for review
August 5, 2026 08:13
chybisov
approved these changes
Aug 5, 2026
Reverts the alpha version bumps and moves @lifi/types to stable 18.0.0 so the squash-merged commit on main reflects the stable state and main's release math stays clean. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
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.
No description provided.