From c79c0f5910d2db18cff494883e38e3c2a9d2a6b1 Mon Sep 17 00:00:00 2001 From: Michael Montour Date: Tue, 1 Oct 2024 15:00:39 -0700 Subject: [PATCH] fix: restore "initializer" tag Changes to be committed: modified: contracts/samples/HybridAccount.sol modified: contracts/samples/SimpleAccount.sol --- contracts/samples/HybridAccount.sol | 2 +- contracts/samples/SimpleAccount.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/samples/HybridAccount.sol b/contracts/samples/HybridAccount.sol index d493473..e6a7825 100644 --- a/contracts/samples/HybridAccount.sol +++ b/contracts/samples/HybridAccount.sol @@ -82,7 +82,7 @@ contract HybridAccount is BaseAccount, TokenCallbackHandler, UUPSUpgradeable, In * a new implementation of HybridAccount must be deployed with the new EntryPoint address, then upgrading * the implementation by calling `upgradeTo()` */ - function initialize(address anOwner) public virtual /*initializer*/ { + function initialize(address anOwner) public virtual initializer { _initialize(anOwner); } diff --git a/contracts/samples/SimpleAccount.sol b/contracts/samples/SimpleAccount.sol index 2a3f23c..6c1a198 100644 --- a/contracts/samples/SimpleAccount.sol +++ b/contracts/samples/SimpleAccount.sol @@ -75,7 +75,7 @@ contract SimpleAccount is BaseAccount, TokenCallbackHandler, UUPSUpgradeable, In * a new implementation of SimpleAccount must be deployed with the new EntryPoint address, then upgrading * the implementation by calling `upgradeTo()` */ - function initialize(address anOwner) public virtual /*initializer*/ { + function initialize(address anOwner) public virtual initializer { _initialize(anOwner); }