Skip to content

Commit

Permalink
fix mantle example
Browse files Browse the repository at this point in the history
  • Loading branch information
zkJoaquin committed Feb 29, 2024
1 parent 20a9a30 commit 17a36c0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/mantle/scripts/changeFeeParams.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ task('changeFeeParams', 'Change fee params for zkLink').setAction(async (taskArg
l2ChainId: 5001, // 5001 for Mantle Testnet, 5000 for Mantle Mainnet
l1SignerOrProvider: l1Wallet,
l2SignerOrProvider: l2Wallet,
bedrock: true,
});

const l1WalletAddress = await l1Wallet.getAddress();
Expand Down
1 change: 1 addition & 0 deletions examples/mantle/scripts/setValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ task('setValidator', 'Set validator for zkLink')
l2ChainId: 5001, // 5001 for Mantle Testnet, 5000 for Mantle Mainnet
l1SignerOrProvider: l1Wallet,
l2SignerOrProvider: l2Wallet,
bedrock: true,
});

const l1WalletAddress = await l1Wallet.getAddress();
Expand Down
1 change: 1 addition & 0 deletions examples/mantle/scripts/syncBatchRoot.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ task('syncBatchRoot', 'Forward message to L2').setAction(async (taskArgs, hre) =
l2ChainId: 5001, // 5001 for Mantle Testnet, 5000 for Mantle Mainnet
l1SignerOrProvider: l1Wallet,
l2SignerOrProvider: l2Wallet,
bedrock: true,
});

const l1WalletAddress = await l1Wallet.getAddress();
Expand Down
1 change: 1 addition & 0 deletions examples/mantle/scripts/syncL2Requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ task('syncL2Requests', 'Send sync point to arbitrator')
l2ChainId: 5001, // 5001 for Mantle Testnet, 5000 for Mantle Mainnet
l1SignerOrProvider: l1Wallet,
l2SignerOrProvider: l2Wallet,
bedrock: true,
});

const l2WalletAddress = await l2Wallet.getAddress();
Expand Down

0 comments on commit 17a36c0

Please sign in to comment.