Skip to content

Commit

Permalink
add debug log 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ezra-sg committed Nov 13, 2023
1 parent a6a6cca commit 158852f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/antelope/stores/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ const createManager = (authenticator: EVMAuthenticator | undefined):EvmContractM
}
return (await authenticator.web3Provider()).getSigner(useAccountStore().getAccount(authenticator.label).account);
},
getWeb3Provider: () => authenticator?.web3Provider() ?? Promise.resolve(null),
getWeb3Provider: () => {
console.log('authenticator', authenticator);

return authenticator?.web3Provider() ?? Promise.resolve(null);
},
getFunctionIface: (hash:string) => toRaw(useEVMStore().getFunctionIface(hash)),
getEventIface: (hash:string) => toRaw(useEVMStore().getEventIface(hash)),
});
Expand Down

0 comments on commit 158852f

Please sign in to comment.