Skip to content

Fix snap Hardhat tasks - #2954

Merged
sparrowDom merged 2 commits into
masterfrom
nicka/hh-fixes
Jul 30, 2026
Merged

Fix snap Hardhat tasks#2954
sparrowDom merged 2 commits into
masterfrom
nicka/hh-fixes

Conversation

@naddison36

@naddison36 naddison36 commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixes the following Hardhat snapshot tasks:

  • snapStakingStrat

    • Removes the unconditional @oplabs/talos-client dependency from the shared network helper.
    • Restores access to the Hardhat provider and network context.
    • Uses the existing IERC20Metadata ABI for IERC20 contract resolution.
    • Decodes beacon data using the fork returned by the beacon API.
  • snapStaking

    • Removes the unnecessary signer lookup from this read-only task.
  • snapVault

    • Normalizes the token symbol so lowercase values such as oeth resolve the correct deployment.

Test plan

pnpm hardhat snapStakingStrat --network mainnet --ssv false
pnpm hardhat snapStaking --network mainnet --index 2
pnpm hardhat snapVault --network mainnet --symbol oeth

@sparrowDom sparrowDom left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

NIce, thank you for this

@sparrowDom
sparrowDom merged commit 7eb6a94 into master Jul 30, 2026
11 checks passed
@sparrowDom
sparrowDom deleted the nicka/hh-fixes branch July 30, 2026 09:26
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.

2 participants