Skip to content

feat: Update ARC token ID and explorer URLs; add TokenVersionV29 - #224

Merged
DBoyalskyyTW merged 2 commits into
masterfrom
feature/danilboyalskyy/sc-156479
Sep 7, 2026
Merged

DBoyalskyyTW merged 2 commits into
masterfrom
feature/danilboyalskyy/sc-156479

Conversation

@DBoyalskyyTW

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 7, 2026 08:36
zhoglik044
zhoglik044 previously approved these changes Sep 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The ARC address explorer URL change in GetAddressExploreURL is not covered by tests (no ARC case in TestGetAddressExploreURL), leaving the updated behavior unprotected from regressions.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the Arc (ARC) chain metadata and token-type wire contract versioning in go-primitives, ensuring downstream services and mobile clients use the correct coin ID, chain ID, explorer URLs, and token version.

Changes:

  • Added TokenVersionV29 and mapped ARC token type to version V29 (with corresponding unit test update).
  • Updated ARC explorer URLs from the former testnet host to https://explorer.arc.io (token + address), with token explorer URL test updated.
  • Updated ARC coin registry entry (coin ID + chainId) and regenerated coin/coins.go.
File summaries
File Description
types/token.go Adds TokenVersionV29 and returns it for ARC in GetTokenVersion.
types/token_test.go Updates GetTokenVersion test expectation for ARC to V29.
knowledge/architecture/token-type-registry.md Updates documentation to reflect token versions now going through V29.
coin/models.go Updates ARC token/address explorer URL base to https://explorer.arc.io.
coin/models_test.go Updates ARC token explorer URL expected value in TestGetCoinExploreURL.
coin/coins.yml Updates ARC coin id and chainId registry values.
coin/coins.go Regenerates coin constants/maps with updated ARC ID and ChainID.
Review details

Files not reviewed (1)

  • coin/coins.go: Generated file
  • Files reviewed: 6/7 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread coin/models.go Resolved
@DBoyalskyyTW
DBoyalskyyTW merged commit ed6d1c0 into master Sep 7, 2026
2 checks passed
@DBoyalskyyTW
DBoyalskyyTW deleted the feature/danilboyalskyy/sc-156479 branch September 7, 2026 08:51
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