Skip to content

✨ Add support for EIP-2935 serving historical block hashes #1458

@0xSooki

Description

@0xSooki

Adding support for https://eips.ethereum.org/EIPS/eip-2935, a function to serve the latest 8191 block hashes, reverting to the blockhash function in Solidity if within the latest 256 to save gas.

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/32e7a6ffbc5af9ab0e6dfdbc58508511d0f0b4a2/contracts/utils/Blockhash.sol#L4

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