fix: gasless support check in hook useAutomaticGasFeeTokenSelect#27679
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: This is a focused bug fix in the EIP-7702 / gasless transaction confirmation flow:
SmokeConfirmations is the appropriate tag as it covers gas fee customization, EIP-7702 account abstraction features, and transaction confirmation flows. No other tags are needed since this is a narrow, focused change to a single hook in the confirmations subsystem with no impact on other feature areas (swaps, accounts, networks, etc.). Performance Test Selection: |
|
✅ E2E Fixture Validation — Schema is up to date |
|



Description
Fix gasless support check in hook useAutomaticGasFeeTokenSelect
Changelog
CHANGELOG entry:
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/CONF-1047
Manual testing steps
Screenshots/Recordings
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk: a small conditional change in a confirmation hook that only affects when a gas fee token is auto-selected, with no new data flows or security-sensitive logic.
Overview
Fixes
useAutomaticGasFeeTokenSelectso it only auto-selects a non-native gas fee token when gasless is actually supported (isSupportedfromuseIsGaslessSupported), instead of triggering based solely onisSmartTransaction/insufficient balance state.Written by Cursor Bugbot for commit f6cbc58. This will update automatically on new commits. Configure here.