Skip to content

Commit

Permalink
Merge pull request #60 from zkLinkProtocol/issues_59
Browse files Browse the repository at this point in the history
fix mantle example
  • Loading branch information
zkbenny authored Feb 29, 2024
2 parents 20a9a30 + 17a36c0 commit dec623b
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 dec623b

Please sign in to comment.