Skip to content

Rename mixHash to prevRandao #328

@mkalinin

Description

@mkalinin

Issue

EIP-4399 replaces mixHash block header value with beacon chain RANDAO mix to expose it inside of the EVM, this EIP suggests that the field should be further renamed to prevRandao, thus, there is a desire to do the renaming in JSON RPC API schema.

This change would involve:

  • Renaming itself
  • Tests update
  • EL clients update to conform the new schema

The other problem which doesn't seem to have a perfect solution is serving old PoW blocks with updated schema. One of potential solutions would be to make mixHash and prevRandao optional in the schema and filled by clients according to the context. The downside of this solution is additional engineering and testing complexity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions