Skip to content

tracker(benchmark): Porting extra benchmark tests #1577

@LouisTsai-Csie

Description

@LouisTsai-Csie

Summary

Porting additional test cases for benchmark.

Test Cases

  • AccessList 2930: EIP-2930 introduces a new tx type which has a bunch of cornercases - test: add max block size test using access lists execution-spec-tests#1932
  • Branch prediction: Tests that try to attack the CPU’s branch prediction
  • Additional create/create2 operation: -
    • Create + Selfdestruct loops
    • Create(Create(Create(…)))
    • Creation by Selfdestruct reads contract + balance
    • Call + Selfdestruct touches two accounts
  • DeriveSHA: Root computation for TxRoot, Requests etc
  • Journaling attacks: Clients use journaling to be able to revert operations
  • Prefetching/Parallelization attacks: Trick parallelization techniques
  • Receipt Size: Receipts might go over the 10MB limit per network package
  • Refund bombs: How much more gas can a block have with max refunds?
  • Request Benchmarks: Prague introduced Requests for Consolidations, Withdrawals and Deposits
  • State growth: With increasing gas limit, the state growth per block will increase
  • State root computation: The more changes we accumulate per block, the costlier it is to compute the stateroot
  • Trie Degeneration: Attacks like Trie Node Splitting to increase the depth/breath of the trie

Metadata

Metadata

Labels

A-test-benchmarkArea: execution_testing.benchmark and tests/benchmarkC-trackerCategory: Tracker—Meta-issues that collect many issues for progress monitoringstaleThe Issue/PR has not had any activity for 60 days. PRs will be automatically closed.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions