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

Mega "warmth testing" issue #1436

Open
OlivierBBB opened this issue Oct 17, 2024 · 1 comment
Open

Mega "warmth testing" issue #1436

OlivierBBB opened this issue Oct 17, 2024 · 1 comment
Assignees
Labels

Comments

@OlivierBBB
Copy link
Collaborator

No description provided.

@lorenzogentile404
Copy link
Collaborator

lorenzogentile404 commented Jan 22, 2025

This is partially addressed in this branch: https://github.com/Consensys/linea-tracer/tree/1514-call-exceptions-testing. We need to ensure all relevant test cases are covered.

This is about:

  • Testing if the manage warmth correctly.
  • If the pricing corresponds with the one of Besu.
  • It has to cover all OPCODES that are have a warmth depending pricing.

The following dimensions should be taken into consideration:

  • OpCode:
    • BALANCE
    • EXTCODECOPY
    • EXTCODEHASH
    • EXTCODESIZE
    • CALLs
    • SELFDESTRUCT
  • Pre-warming yes/no
  • Rollback yes/no
  • Executing a second time
  • Triggering OOGX due to warmth yes/no
  • Target:
    • sender
    • recipient
    • coinbase
    • precompile
    • random

The approach may be the following:

  • We create a transaction with an access list with the address we want to pre-warm or the 0 address otherwise.
  • Cover all the cases above ...

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants