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

Hardhat tasks working with Sonic #2357

Merged
merged 2 commits into from
Jan 17, 2025
Merged

Conversation

naddison36
Copy link
Collaborator

@naddison36 naddison36 commented Jan 17, 2025

Some examples against a local Sonic node

# in one terminal
yarn run node:sonic

# in another terminal

# Either set DEPLOYER_PK or IMPERSONATE in your .env file
FORK=true npx hardhat rebase --network localhost
FORK=true npx hardhat depositWETH --amount 90 --network sonic
FORK=true npx hardhat mint --amount 1 --network localhost
FORK=true npx hardhat requestWithdrawal --amount 0.2 --network localhost
FORK=true npx hardhat claimWithdrawal --request-id 0 --network localhost

# Set the following in your .env file 
# IMPERSONATE=0xAdDEA7933Db7d83855786EB43a238111C69B00b6
FORK=true npx hardhat capital --network localhost

Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.67%. Comparing base (570f5af) to head (7bdec4d).
Report is 1 commits behind head on nicka/sonic.

Additional details and impacted files
@@             Coverage Diff              @@
##           nicka/sonic    #2357   +/-   ##
============================================
  Coverage        54.67%   54.67%           
============================================
  Files               90       90           
  Lines             4397     4397           
  Branches          1158     1158           
============================================
  Hits              2404     2404           
  Misses            1990     1990           
  Partials             3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@naddison36 naddison36 merged commit 6859cb8 into nicka/sonic Jan 17, 2025
20 of 21 checks passed
@naddison36 naddison36 deleted the nicka/sonic-actions branch January 17, 2025 10:27
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.

1 participant