File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,11 @@ describe("wallet", () => {
4141 newSmartWalletImpl = await newWalletImpl ( ) ;
4242 } ) ;
4343
44- describe ( "upgrade" , ( ) => {
44+ describe . only ( "upgrade" , ( ) => {
4545 it ( "wallet owner should be able to upgrade impl with enough approvals" , async ( ) => {
4646 const validUntil = 9999999999 ;
4747 const currentImpl = await wallet . getMasterCopy ( ) ;
48+ console . log ( "old impl:" , currentImpl ) ;
4849 const sig1 = signChangeMasterCopy (
4950 wallet . address ,
5051 currentImpl ,
@@ -78,8 +79,10 @@ describe("wallet", () => {
7879 newSmartWalletImpl . address
7980 ) ;
8081
81- // const masterCopyOfWallet = await wallet.getMasterCopy();
82- // console.log("masterCopyofwallet:", masterCopyOfWallet);
82+ const masterCopyOfWallet = await wallet . getMasterCopy ( ) ;
83+ console . log ( "masterCopyofwallet:" , masterCopyOfWallet ) ;
84+
85+ expect ( masterCopyOfWallet ) . to . equal ( newSmartWalletImpl . address ) ;
8386 } ) ;
8487 } ) ;
8588} ) ;
You can’t perform that action at this time.
0 commit comments