From e51d0df8e54efb37725b7b97a2176cd365bb4cc7 Mon Sep 17 00:00:00 2001 From: tommyrharper Date: Tue, 2 Jul 2024 14:04:44 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20=E2=9A=99=EF=B8=8F=20Add=20light=20?= =?UTF-8?q?account=20factory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/utils/Bootstrap.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/utils/Bootstrap.sol b/test/utils/Bootstrap.sol index 00f3094..0625663 100644 --- a/test/utils/Bootstrap.sol +++ b/test/utils/Bootstrap.sol @@ -2,6 +2,7 @@ pragma solidity 0.8.25; import {EntryPoint} from "lib/account-abstraction/contracts/core/EntryPoint.sol"; +import {LightAccountFactory} from "lib/light-account/src/LightAccountFactory.sol"; import {console2} from "lib/forge-std/src/console2.sol"; import { @@ -17,6 +18,7 @@ contract Bootstrap is Test { MarginPaymaster internal marginPaymaster; EntryPoint internal entryPoint; + LightAccountFactory internal lightAccountFactory; function initializeLocal() internal { BootstrapLocal bootstrap = new BootstrapLocal(); @@ -24,6 +26,7 @@ contract Bootstrap is Test { marginPaymaster = MarginPaymaster(marginPaymasterAddress); entryPoint = new EntryPoint(); + lightAccountFactory = new LightAccountFactory(address(this), entryPoint); } function initializeOptimismGoerli() internal {