Skip to content

Release to main (remove deleted chains)#60

Closed
SewerynKras wants to merge 3 commits into
mainfrom
develop
Closed

Release to main (remove deleted chains)#60
SewerynKras wants to merge 3 commits into
mainfrom
develop

Conversation

@SewerynKras
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 8, 2026 09:31
@SewerynKras SewerynKras closed this May 8, 2026
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 chain definitions that are no longer supported from the SDK’s /chains entrypoint and updates tests to reflect the reduced set of available chains.

Changes:

  • Removed the mendoza, rosario, and marketplace chain definitions and stopped exporting them from @arkiv-network/sdk/chains.
  • Updated unit/integration tests to no longer reference the removed chains and to assert they are now treated as unknown.
  • Added a @deprecated JSDoc annotation to kaolin.

Reviewed changes

Copilot reviewed 8 out of 8 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 health-check test’s selectable chains to the remaining supported exports.
src/utils/chains.test.ts Updates chainFromName tests to stop expecting removed chains to resolve and to assert they throw.
src/chains/rosario.ts Deletes the Rosario chain definition.
src/chains/mendoza.ts Deletes the Mendoza chain definition.
src/chains/marketplace.ts Deletes the Marketplace chain definition.
src/chains/kaolin.ts Adds a deprecation notice for Kaolin.
src/chains/index.ts Removes exports for the deleted chains from the public ./chains entrypoint.
package.json Bumps the prerelease version.

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

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")
Comment thread src/chains/index.ts
@@ -1,6 +1,3 @@
export { braga } from "./braga"
export { kaolin } from "./kaolin"
export { localhost } from "./localhost"
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