Skip to content
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

Fix/4337 token balances #687

Merged
merged 4 commits into from
Apr 3, 2024
Merged

Fix/4337 token balances #687

merged 4 commits into from
Apr 3, 2024

Conversation

borislav-itskov
Copy link
Member

Fix:

  • for erc-4337 estimations, use the token balances after the simulation from Estimation.sol for fee token payments

Refactor:

  • Estimation.sol into smaller chunks

Change:

  • return the fee token options from Estimation.sol when we don't have a valid spoof without calculating gasUsed for them. This is for view only accounts - it will allow them to check what fee options they have in the select dropdown

@borislav-itskov borislav-itskov merged commit 4165b95 into v2 Apr 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant