Describe the bug
We have deployed EIP 4337 contracts from https://github.com/eth-infinitism/account-abstraction
along with the Entry Point - contracts/core/EntryPoint.sol , we have also deployed SimpleAccount from the same repo - contracts/samples/SimpleAccount.sol
To Reproduce
Steps to reproduce the behavior:
To reproduce the error and test if it's breaking at that particular point, We deployed a slightly modified SimpleWallet that allows any external party to verify the wallet function individually.
Describe the bug We have deployed EIP 4337 contracts from https://github.com/eth-infinitism/account-abstraction along with the Entry Point - contracts/core/EntryPoint.sol , we have also deployed SimpleAccount from the same repo - contracts/samples/SimpleAccount.sol
The signature validation https://github.com/eth-infinitism/account-abstraction/blob/f1c5c11b273b7ddae26bb20809419b33ccb8f043/contracts/samples/SimpleAccount.sol#L105 EDCSA.recover fails when executing transactions.
To Reproduce Steps to reproduce the behavior: To reproduce the error and test if it's breaking at that particular point, We deployed a slightly modified SimpleWallet that allows any external party to verify the wallet function individually.
We have written a test script ( in bun ).
Steps to reproduce
git clone https://github.com/lazycoder1/entry-point-testing.git
bun i
orpnpm i
PVT_KEY=0xabdc...
. private key which has some move test tokens in it.bun run index.ts
Expected behaviour Ideally, both cases need to pass the signature test, but one fails ECDSA.recover and the other passes ECDSA.recover call.
Additional context Do reach out to me in telegram @lazyc0der1 or lazycoder#9108 in discord. We can get a call to additional details too !