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

typos in function TestDeposits.s.sol #115

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions script/deploy/l1/tests/TestDeposits.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ import {L1ERC721Bridge} from "@eth-optimism-bedrock/src/L1/L1ERC721Bridge.sol";
contract DeployTestContracts is Script {
function run(
address _tester,
address payable _l1StandardBirdge,
address payable _l1StandardBridge,
address _l1erc721Bridge,
address payable _l1erc20,
address _l1erc721,
address _l2erc20,
address _l2erc721
) public {
vm.startBroadcast(_tester);
ERC20PresetMinterPauser(_l1erc20).approve(_l1StandardBirdge, 1_000_000 ether);
ERC20PresetMinterPauser(_l1erc20).approve(_l1StandardBridge, 1_000_000 ether);
ERC721PresetMinterPauserAutoId(_l1erc721).approve(_l1erc721Bridge, 0);

console.log("Approvals to bridge contracts complete");

L1StandardBridge(_l1StandardBirdge).depositERC20(_l1erc20, _l2erc20, 1_000_000 ether, 200_000, bytes(""));
L1StandardBridge(_l1StandardBridge).depositERC20(_l1erc20, _l2erc20, 1_000_000 ether, 200_000, bytes(""));

console.log("L1StandardBridge erc20 deposit complete");

Expand Down