Skip to content

Refactor bloatnet test with new benchmark feature #2114

@LouisTsai-Csie

Description

@LouisTsai-Csie

Currently, the stateful tests under tests/stateful/ are not using the latest features of the benchmarking framework:

  • They still hardcode gas cost values instead of using bytecode.gas_cost(fork).
  • They use the blockchain test wrapper rather than the BenchmarkTest wrapper.
  • For CREATE2 memory setup, they don’t use the create2_preimage layout configuration.

Adopting these features would significantly simplify the benchmark tests and improve maintainability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions