Skip to content

Ethereum Block Storage #139

@Jan-Jan

Description

@Jan-Jan

SCC lead: @pgherveou
Design doc: Ethereum Block Storage

Scope

  • Review design doc
  • Review whether or not the storage needs to be stored, or if we can just merkle root
  • Add the new storage to pallet_revive
  • Add the on_finalize hook to compute the merkle roots and block hash.
  • Update pallet_revive blockhash host function to read from the new storage instead of frame_system hash
  • Add benchmarks for on_finalize hook & for the extra cost incurred by each write in the eth_call / eth_instantiate dispatchable
  • If needed add additional limit to ensure it can't be exploited to generate OOM errors in the PVF
  • Adapt eth-rpc to take advantage of the new storage instead of re-building them dynamically from the block

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions