-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added benchmark tests for smart-wallet #535
Added benchmark tests for smart-wallet #535
Conversation
@alfheimrShiven thanks for the PR! |
Sure @kumaryash90. Thanks for the update. |
Codecov ReportAll modified lines are covered by tests ✅ 📢 Thoughts on this report? Let us know!. |
Merge queue setting changed
@alfheimrShiven Could you give me permission to push to your branch? We are good to merge, I just fixed a few things to align with our recent signer perms changes. |
Hey @WhiteOakKong I guess @kumaryash90 has incorporated the change. Thank you. |
Includes benchmark tests for non-upgradable smart accounts. Following are the gas measurements:
PASS] test_state_accountReceivesNativeTokens() (gas: 11012)
[PASS] test_state_addAndWithdrawDeposit() (gas: 83248)
[PASS] test_state_contractMetadata() (gas: 59240)
[PASS] test_state_createAccount_viaEntrypoint() (gas: 428384)
[PASS] test_state_createAccount_viaFactory() (gas: 334603)
[PASS] test_state_executeBatchTransaction() (gas: 40271)
[PASS] test_state_executeBatchTransaction_viaAccountSigner() (gas: 392267)
[PASS] test_state_executeBatchTransaction_viaEntrypoint() (gas: 83624)
[PASS] test_state_executeTransaction() (gas: 35783)
[PASS] test_state_executeTransaction_viaAccountSigner() (gas: 377498)
[PASS] test_state_executeTransaction_viaEntrypoint() (gas: 75957)
[PASS] test_state_receiveERC1155NFT() (gas: 39331)
[PASS] test_state_receiveERC721NFT() (gas: 78307)
[PASS] test_state_transferOutsNativeTokens() (gas: 82073)