Skip to content

feat: onboard Hoodi wbtc contracts for staging and test#8380

Open
zeeshanamjad-eng wants to merge 1 commit intomasterfrom
SCAAS-3366
Open

feat: onboard Hoodi wbtc contracts for staging and test#8380
zeeshanamjad-eng wants to merge 1 commit intomasterfrom
SCAAS-3366

Conversation

@zeeshanamjad-eng
Copy link
Copy Markdown
Contributor

TICKET: SCAAS-3366

@zeeshanamjad-eng
Copy link
Copy Markdown
Contributor Author

@claude

Copy link
Copy Markdown

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

Adds Hoodi testnet WBTC token definitions (regular + stg variant) to statics so the assets are recognized in staging/test environments.

Changes:

  • Register new Hoodi testnet ERC20 tokens hteth:wbtc and hteth:stgwbtc (including contract addresses / decimals).
  • Add corresponding OFC testnet token entries (ofchteth:wbtc, ofchteth:stgwbtc) and extend the UnderlyingAsset enum.
  • Update unit test allowlist for the token naming convention, and refresh yarn.lock (handlebars + path-to-regexp).

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
yarn.lock Updates locked dependency versions (handlebars, path-to-regexp).
modules/statics/test/unit/tokenNamingConvention.ts Adds Hoodi WBTC symbols to the testnet prefix exception list.
modules/statics/src/coins/ofcErc20Coins.ts Adds OFC testnet entries for Hoodi WBTC and STGWBTC.
modules/statics/src/coins/erc20Coins.ts Adds Hoodi testnet ERC20 token definitions for WBTC and STGWBTC (addresses + decimals).
modules/statics/src/base.ts Adds UnderlyingAsset enum values for hteth:wbtc and hteth:stgwbtc.

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

Copy link
Copy Markdown
Contributor

@at31416 at31416 left a comment

Choose a reason for hiding this comment

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

lgtm

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