Skip to content

feat!: remove deprecated chains Taiko, Swellchain, Corn, Superposition, Sophon, Botanix - #268

Merged
melianessa merged 5 commits into
mainfrom
feat/exbe-502-deprecate-chains
Aug 5, 2026
Merged

feat!: remove deprecated chains Taiko, Swellchain, Corn, Superposition, Sophon, Botanix#268
melianessa merged 5 commits into
mainfrom
feat/exbe-502-deprecate-chains

Conversation

@melianessa

@melianessa melianessa commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

melianessa and others added 4 commits August 4, 2026 17:07
…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
melianessa marked this pull request as ready for review August 5, 2026 08:13
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]>
@melianessa
melianessa merged commit 02d14e6 into main Aug 5, 2026
2 of 4 checks passed
@melianessa
melianessa deleted the feat/exbe-502-deprecate-chains branch August 5, 2026 08:54
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.

2 participants