Skip to content

Feat/change avalanche explorer#977

Merged
cowdan merged 2 commits intomainfrom
feat/change-avalanche-explorer
Jun 18, 2025
Merged

Feat/change avalanche explorer#977
cowdan merged 2 commits intomainfrom
feat/change-avalanche-explorer

Conversation

@cowdan
Copy link
Contributor

@cowdan cowdan commented Jun 18, 2025

Summary

  • Change Avalanche explorer from SnowTrace to SnowScan
  • update cow-sdk

Summary by CodeRabbit

  • Chores
    • Updated Avalanche network block explorer URLs from snowtrace.io to snowscan.xyz throughout the app and related workflow scripts.
    • Upgraded the "@cowprotocol/cow-sdk" dependency to version 6.0.0-RC.63.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 18, 2025

Walkthrough

The changes update references to the Avalanche blockchain explorer from "snowtrace.io" to "snowscan.xyz" in a workflow script and a token metadata JSON file. Additionally, the dependency "@cowprotocol/cow-sdk" is upgraded from version "^5.11.0-RC.0" to "6.0.0-RC.63" in the package configuration.

Changes

Files/Paths Change Summary
.github/workflows/processRequest.yml Updated Avalanche block explorer domain from snowtrace.io to snowscan.xyz in workflow logic.
src/cowFi/cowFi-tokens.json Replaced all Avalanche token explorer URLs from snowtrace.io to snowscan.xyz.
package.json Upgraded @cowprotocol/cow-sdk dependency from ^5.11.0-RC.0 to 6.0.0-RC.63.

Poem

A hop and a skip, explorers anew,
Snowtrace says bye, Snowscan comes through!
Tokens and workflows, both in the know,
SDKs updated, onward we go.
With every fresh link, the blockchain’s in sync—
Rabbits rejoice with a jubilant wink!
🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c2dcc8d and 45f19cc.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (3)
  • .github/workflows/processRequest.yml (1 hunks)
  • package.json (1 hunks)
  • src/cowFi/cowFi-tokens.json (11 hunks)
🔇 Additional comments (13)
package.json (1)

43-43: Validate major version bump for @cowprotocol/cow-sdk
You’ve upgraded from ^5.11.0-RC.0 to 6.0.0-RC.63, which is a breaking major release. Ensure all SDK usages, initializations, and typings across the codebase have been updated and that integration tests pass against the new API.

.github/workflows/processRequest.yml (1)

90-90: Verify Avalanche explorer URL change
The block explorer for AVALANCHE was updated to snowscan.xyz. Confirm that links generated via https://${values.blockExplorer}/token/${address} correctly resolve on Snowscan (e.g., test with a known token address), and update any other hard-coded references (e.g., in src/cowFi/cowFi-tokens.json) to maintain consistency.

src/cowFi/cowFi-tokens.json (11)

77-77: Switch Avalanche explorer to Snowscan for token 0xd501281565bf7789224523144fe5d98e8b28f267

The URL has been correctly updated from the previous Avalanche explorer to Snowscan and the address is now lowercased, matching the workflow change.


323-323: Switch Avalanche explorer to Snowscan for token 0x63a72806098bd3d9520cc43356dd78afe5d386d9

The Avalanche explorer link now points to Snowscan with a lowercase address, in line with the other updates.


1323-1323: Switch Avalanche explorer to Snowscan for token 0x027dbca046ca156de9622cd1e2d907d375e53aa7

Updated the C-chain explorer reference to Snowscan; the token address has been normalized to lowercase.


1569-1569: Switch Avalanche explorer to Snowscan for token 0x12d8ce035c5de3ce39b1fdd4c1d5a745eaba3b8c

The Avalanche link now uses Snowscan with the address lowercased.


2599-2599: Switch Avalanche explorer to Snowscan for token 0x8239a6b877804206c7799028232a7188da487cec

Replaced the Avalanche explorer URL with Snowscan, maintaining lowercase formatting.


2873-2873: Switch Avalanche explorer to Snowscan for token 0x5947bb275c521040051d82396192181b413227a3

The Avalanche explorer reference is now Snowscan and the token address is in lowercase.


3811-3811: Switch Avalanche explorer to Snowscan for token 0xd586e7f844cea2f87f50152665bcbc2c279d8d70

Updated to Snowscan for Avalanche and normalized the address casing.


5864-5864: Switch Avalanche explorer to Snowscan for token 0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64

Avalanche explorer link points to Snowscan now, with a lowercase address.


6110-6110: Switch Avalanche explorer to Snowscan for token 0x214db107654ff987ad859f34125307783fc8e387

Replaced with Snowscan URL for Avalanche; address uses consistent lowercase.


8097-8097: Switch Avalanche explorer to Snowscan for token 0x130966628846bfd36ff31a822705796e8cb8c18d

The Avalanche explorer is now Snowscan, and the token ID is properly normalized.


10542-10542: Switch Avalanche explorer to Snowscan for token 0x37b608519f91f70f2eeb0e5ed9af4061722e4f76

Updated to the Snowscan domain with a lowercase address, consistent with other entries.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​cowprotocol/​app-data@​3.0.0 ⏵ 3.1.082 +2100100 +194 -1100
Updated@​cowprotocol/​cow-sdk@​5.11.0-RC.0 ⏵ 6.0.0-RC.6383 +110099 +199 +1100

View full report

@cowdan cowdan requested a review from a team June 18, 2025 15:00
@cowdan cowdan merged commit 4f61210 into main Jun 18, 2025
7 checks passed
@cowdan cowdan deleted the feat/change-avalanche-explorer branch June 18, 2025 15:10
@github-actions github-actions bot locked and limited conversation to collaborators Jun 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants