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

Refactor/minor things before chain integrations #754

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

TheDivic
Copy link
Collaborator

@TheDivic TheDivic commented Dec 5, 2024

📖 Context

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Why are we doing this?

  • There was a problem with Lisk & SDK gas offsets
  • Relayer balance accounting caused flaky healthchecks

What did we do?

  • Enable balance state overrides on Lisk testnet & mainnet
  • Separate master account balance check from relayer balance check
  • Don't check relayer balance in healthcheck by default (not necessary)

How Has This Been Tested?

  • Tests pass
  • Tested using script from @VGabriel45 that reproduces the client's issue

So we can disable the relayer checks independently, for example in smoke tests
…lance in healthchecks

We need to enable balance overrides because there are clients who are calling
eth_estimateUserOperationGas with empty accounts before actually calling the paymaster for
sponsorship. It was previously disabled because it didn't work on the lisk rpc, but now it works.
Also don't check relayer balance in healthchecks, just check the master account and assume if it's
funded it will fund the relayers. Otherwise we encountered some weird errors that would cause the
checks to fail because of problems with relayer balance accounting

BREAKING CHANGE: We are not checking the relayer balance in healtchecks any more, by default. It can
be enabled in production config (if necessary).
@TheDivic TheDivic added the 🐛 Bug Something isn't working label Dec 5, 2024
@TheDivic TheDivic self-assigned this Dec 5, 2024
@TheDivic TheDivic merged commit 01ad556 into master Dec 5, 2024
5 checks passed
@TheDivic TheDivic deleted the refactor/minor-things-before-chain-integrations branch December 5, 2024 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant