Repository navigation
feat: Update ARC token ID and explorer URLs; add TokenVersionV29 - #224
Merged
Merged
Conversation
zhoglik044
previously approved these changes
Sep 7, 2026
There was a problem hiding this comment.
🟡 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
TokenVersionV29and mappedARCtoken type to versionV29(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.
zhoglik044
approved these changes
Sep 7, 2026
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.