Skip to content

Conversation

@simzzz
Copy link
Contributor

@simzzz simzzz commented Apr 16, 2025

Description:
This PR improves the caching for eth_getCode by caching even with prohibited opcodes, and removing caching for blockNumber === latest

Related issue(s):

Fixes #3634

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@simzzz simzzz requested review from a team as code owners April 16, 2025 08:40
@simzzz simzzz requested a review from konstantinabl April 16, 2025 08:40
@simzzz simzzz self-assigned this Apr 16, 2025
@simzzz simzzz added the enhancement New feature or request label Apr 16, 2025
@simzzz simzzz added this to the 0.68.0 milestone Apr 16, 2025
Signed-off-by: Simeon Nakov <[email protected]>
@simzzz simzzz changed the base branch from main to poc-eth-service-apporach April 16, 2025 09:24
Signed-off-by: Simeon Nakov <[email protected]>
@simzzz simzzz closed this Apr 16, 2025
@simzzz simzzz deleted the 3634-eth-get-code-caching-improvement branch April 16, 2025 12:58
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

Development

Successfully merging this pull request may close these issues.

Improve eth_getCode caching strategy when bytecode contains "prohibited opcode"

2 participants