8000 Replace BlockTag with BlockId · Issue #524 · a16z/helios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Replace BlockTag with BlockId #524
Closed
@eshaan7

Description

@eshaan7

BlockTag is a custom type used for the block param in Helios execution RPC interface. It is restricted to latest/finalized/<number> to facilitate fetching a block from Helios state.

Whereas BlockId comes from Alloy and has values like <hash>/pending/safe/earliest (in addition to the ones above) and is used by alloy's RPC provider interface.

To use only BlockId throughout the codebase, we would need to handle the pending/safe/earliest cases somehow.

Could create a separate issue for this, might be out of scope for this PR since BlockTag already exists and is not a new addition in this PR.

Originally posted by @eshaan7 in #505 (comment)

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

      0