Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: generateRelatedAssetIndex not running due to ethers hdwallet import woes #7744

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

woodenfurniture
Copy link
Member

@woodenfurniture woodenfurniture commented Sep 13, 2024

Description

Fixes CI job to regenerate the asset list. Was broken due to import issues related to ethers in hdwallet which is unrelated to this script.

The failure was introduced in #7697 where we're importing @shapeshiftoss/hdwallet-ledger which relies on ethers. Decided to re-delate the EVM chain list rather than invest the hours in ethers+hdwallet imports.

Issue (if applicable)

NA

Risk

High Risk PRs Require 2 approvals

Low risk.

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Testing

I've re-run the generate asset list scripts per .github/workflows/generate.yml, and committed the changes.

Engineering

Operations

  • 🏁 My feature doesn't require operations testing

Screenshots (if applicable)

@woodenfurniture woodenfurniture requested a review from a team as a code owner September 13, 2024 00:59
Copy link
Member

@0xApotheosis 0xApotheosis left a comment

Choose a reason for hiding this comment

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

gm

@0xApotheosis 0xApotheosis merged commit 7e22749 into develop Sep 13, 2024
3 checks passed
@0xApotheosis 0xApotheosis deleted the fix-generate-assets branch September 13, 2024 01:27
Comment on lines +36 to +48
// Redeclared here due to ethers import issues
export const EVM_CHAIN_IDS = [
KnownChainIds.EthereumMainnet,
KnownChainIds.AvalancheMainnet,
KnownChainIds.OptimismMainnet,
KnownChainIds.BnbSmartChainMainnet,
KnownChainIds.PolygonMainnet,
KnownChainIds.GnosisMainnet,
KnownChainIds.ArbitrumMainnet,
KnownChainIds.ArbitrumNovaMainnet,
KnownChainIds.BaseMainnet,
] as const

Copy link
Contributor

Choose a reason for hiding this comment

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

FYI @woodenfurniture I actually did the exact same in #7736 (comment) for the same reason - going to nuke all chain-adapters consumptions and leverage utils only in a follow-up 🙏🏽

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