account-abstraction icon indicating copy to clipboard operation
account-abstraction copied to clipboard

Error: cannot estimate gas When I run `yarn runop`

Open LI-YONG-QI opened this issue 1 year ago • 0 comments

Hello everyone! I try to run runop.ts script on localhost, but I got the error message

image

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?

LI-YONG-QI avatar Mar 09 '23 12:03 LI-YONG-QI