Using Foundry's Fork Testing Environment to get gas snapshot report for transactions using Biconomy AA Ownerless Module
Test Cases to Cover by forking ETH-Mainnet :
- DAI Transfer
- Native ETH Transfer
- Wallet Deployment
- NFT Transfer
- NFT Mint
- Uniswap Swap
- AAVE deposit Collateral
- Uniswap V3 Mint Position
- Lido Finance Deposit Ether
- Do all with SAOwnershipAuthModule
- Replicate on other chains
Gas report generated by `forge test` is inflated as it also accounts for gas associated with constructing the userOp.
Value of `gasleft()` is cached before sending the UserOp to EntryPoint and used just after the operation and consoled logged out.
Run the following commands :
forge install
forge test -vv