Closed leekt closed 1 year ago
found weird behavior on entrypoint with this fixes, entrypoint cannot handle revert with less than 32 bytes : https://github.com/eth-infinitism/account-abstraction/blob/abff2aca61a8f0934e533d0d352978055fddbd96/contracts/core/EntryPoint.sol#L69
indeed it is a strange behaviour... hardhat reverts on returndatacopy
if there is no return data, but geth silently returns..
As addressed in audit report, enabling any token with same code base will be easier for us to maintain the project. thus using safeTransfer, using modified version of solady's SafeTransferLib *modified because Entrypoint reverts on short errors