Skip to content

Remove dead chains and deprecate kaolin#58

Merged
SewerynKras merged 1 commit into
developfrom
remove-old-networks
May 8, 2026
Merged

Remove dead chains and deprecate kaolin#58
SewerynKras merged 1 commit into
developfrom
remove-old-networks

Conversation

@SewerynKras
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes unused/dead chain definitions from the SDK and updates tests accordingly, while keeping kaolin available but explicitly deprecated to signal impending removal.

Changes:

  • Removed mendoza, rosario, and marketplace chain definitions and stopped exporting them from src/chains.
  • Updated chain selection usage in the network health integration test to only include supported chains.
  • Updated chainFromName test coverage to reflect the reduced chain set and validate unknown-chain errors for removed networks.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/src/network-health.test.ts Limits the integration test’s selectable chains to braga and deprecated kaolin.
src/utils/chains.test.ts Removes expectations for deleted chains; asserts removed names now throw as unknown.
src/chains/rosario.ts Removes the Rosario chain definition.
src/chains/mendoza.ts Removes the Mendoza chain definition.
src/chains/marketplace.ts Removes the Marketplace chain definition.
src/chains/kaolin.ts Adds @deprecated JSDoc to the Kaolin chain export with a migration link.
src/chains/index.ts Stops exporting the removed chain modules.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/chains/kaolin.ts
import { defineChain } from "viem"

/**
* @deprecated The kaolin network is getting removed on may 15th 2026. Migration guide: https://docs.arkiv.network/networks/migrate-from-kaolin/
Comment thread src/utils/chains.test.ts
Comment on lines +61 to 64
expect(() => chainFromName("mendoza")).toThrow("Unknown chain: mendoza")
expect(() => chainFromName("marketplace")).toThrow("Unknown chain: marketplace")
expect(() => chainFromName("rosario")).toThrow("Unknown chain: rosario")
expect(() => chainFromName("local")).toThrow("Unknown chain: local")
@SewerynKras SewerynKras merged commit e58af1e into develop May 8, 2026
9 checks passed
@SewerynKras SewerynKras deleted the remove-old-networks branch May 8, 2026 09:28
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.

3 participants