Commit 6f66c71f authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

sdk: cleanup the deposit scripts (#3199)

Modularize into 2 hardhat tasks, make them
easier to debug.
parent c76c9587
...@@ -463,7 +463,11 @@ jobs: ...@@ -463,7 +463,11 @@ jobs:
working_directory: packages/contracts-bedrock working_directory: packages/contracts-bedrock
- run: - run:
name: Deposit ERC20 through the bridge name: Deposit ERC20 through the bridge
command: timeout 5m npx hardhat deposit --network devnetL1 command: timeout 5m npx hardhat deposit-erc20 --network devnetL1
working_directory: packages/sdk
- run:
name: Deposit ETH through the bridge
command: timeout 5m npx hardhat deposit-eth --network devnetL1
working_directory: packages/sdk working_directory: packages/sdk
- run: - run:
name: Check the status name: Check the status
......
...@@ -4,7 +4,7 @@ import '@nomiclabs/hardhat-ethers' ...@@ -4,7 +4,7 @@ import '@nomiclabs/hardhat-ethers'
import '@nomiclabs/hardhat-waffle' import '@nomiclabs/hardhat-waffle'
import 'hardhat-deploy' import 'hardhat-deploy'
import './tasks/deposit' import './tasks'
const config: HardhatUserConfig = { const config: HardhatUserConfig = {
solidity: { solidity: {
......
This diff is collapsed.
import './deposit-eth'
import './deposit-erc20'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment