Skip to content

feat: E2E gas profiling native and erc20#127

Merged
amiecorso merged 2 commits intocoinbase:mainfrom
shamit05:main
Sep 11, 2025
Merged

feat: E2E gas profiling native and erc20#127
amiecorso merged 2 commits intocoinbase:mainfrom
shamit05:main

Conversation

@shamit05
Copy link
Copy Markdown
Contributor

@shamit05 shamit05 commented Sep 11, 2025

Gas profiling done for native and erc20 transfers. Results in snapshot folder.
https://docs.google.com/document/d/1G-ReRP_SQ4SvbHSjytj_ubdRwXTTMTdlwPAYSyr7LF4/edit?tab=t.0

Tests ran using FOUNDRY_PROFILE=deploy to simulate real-world gas costs

@cb-heimdall
Copy link
Copy Markdown
Collaborator

cb-heimdall commented Sep 11, 2025

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@amiecorso amiecorso self-requested a review September 11, 2025 17:59
import {Static} from "../CoinbaseSmartWallet/Static.sol";
import {MockTarget} from "../mocks/MockTarget.sol";
import {UserOperation} from "account-abstraction/interfaces/UserOperation.sol";
import {console2} from "forge-std/Test.sol";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: can we order imports according to the CB solidity style guide? link to imports guide here

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it would have been ideal to have put this update in the prior PR which was doing more boilerplate/clean slate stuff, but no need to split this out at this point.

@shamit05 shamit05 requested a review from amiecorso September 11, 2025 19:29
Copy link
Copy Markdown
Contributor

@amiecorso amiecorso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm thanks for these!

@amiecorso amiecorso merged commit 6d0c100 into coinbase:main Sep 11, 2025
6 of 10 checks passed
Dark-Brain07 pushed a commit to Dark-Brain07/smart-wallet that referenced this pull request Feb 14, 2026
* added e2e tests

* changed import ordering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants