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

feat(relay-kit): Control errors in eth_estimateUserOperationGas calls #1041

Closed
wants to merge 2 commits into from

Conversation

yagopv
Copy link
Member

@yagopv yagopv commented Nov 5, 2024

What it solves

Errors in eth_estimateUserOperationGas can happen easily so we are logging and throwing an exception on it

@yagopv yagopv changed the base branch from main to development November 5, 2024 15:13
@yagopv yagopv requested review from dasanra and DaniSomoza November 5, 2024 15:14
@dasanra
Copy link
Collaborator

dasanra commented Nov 6, 2024

@yagopv a test fails because of this change

@yagopv
Copy link
Member Author

yagopv commented Nov 6, 2024

@yagopv a test fails because of this change

Yes :( . I'm throwing the error instead the hardcoded message and now the test should work

@coveralls
Copy link

Pull Request Test Coverage Report for Build 11701514605

Details

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.07%) to 76.322%

Totals Coverage Status
Change from base Build 11683361725: 0.07%
Covered Lines: 788
Relevant Lines: 965

💛 - Coveralls

@yagopv yagopv closed this Nov 6, 2024
@yagopv yagopv deleted the feat/log-gas-estimation-error branch November 6, 2024 12:06
@github-actions github-actions bot locked and limited conversation to collaborators Nov 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants