account-abstraction
account-abstraction copied to clipboard
Error: cannot estimate gas When I run `yarn runop`
Hello everyone!
I try to run runop.ts
script on localhost, but I got the error message
I found that the code caused the error
const ret = await testCounter.justemit();
When I update the code to const ret = await testCounter.connect(etherSigner).justemit();
it work
I guessed this error is related to aasigner
, because testCounter
is connect aasigner in runop
script
When I console.log(aasigner.address)
is undefined
Can someone help me?