Skip to content

Commit

Permalink
✅ Add EntryPoint to Bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyrharper committed Jul 1, 2024
1 parent 3e858e8 commit fd7596c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/utils/Bootstrap.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.25;

import "lib/account-abstraction/contracts/core/EntryPoint.sol";

import {console2} from "lib/forge-std/src/console2.sol";
import {
MarginPaymaster,
Expand All @@ -14,12 +16,14 @@ contract Bootstrap is Test {
using console2 for *;

MarginPaymaster internal marginPaymaster;
EntryPoint internal entryPoint;

function initializeLocal() internal {
BootstrapLocal bootstrap = new BootstrapLocal();
(address marginPaymasterAddress) = bootstrap.init();

marginPaymaster = MarginPaymaster(marginPaymasterAddress);
entryPoint = new EntryPoint();
}

function initializeOptimismGoerli() internal {
Expand Down

0 comments on commit fd7596c

Please sign in to comment.