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

perf: isSmartAccountActive param cache (backport #8189) #8206

Merged
merged 1 commit into from
May 2, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 2, 2024

Closes: #XXX

What is the purpose of the change

Inspired by #8148

This param retrieval currently gets called 6 times for each tx. This requires unmarshalling all the params from the module, which is very wasteful.

Testing and Verifying

All currently existing tests that test the circuit breaker should behave the same. I will also be setting breakpoints in my QA for v25 on this feature to ensure the behavior is as expected.

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes?
  • Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

* isSmartAccountActive param cache

* changelog

* lint

* add comment

* logger

* assign bz

* use pointer

(cherry picked from commit d1076da)
@czarcas7ic czarcas7ic merged commit cdbe2a7 into v25.x May 2, 2024
1 check passed
@czarcas7ic czarcas7ic deleted the mergify/bp/v25.x/pr-8189 branch May 2, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant