Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add conversion from BlockHashOrNumber to BlockId #1127

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

emhane
Copy link
Contributor

@emhane emhane commented Aug 5, 2024

Motivation

Implementing reth_rpc_eth_types::EthApiError paradigmxyz/reth#7416 (comment)

Solution

Adds conversion from alloy_eips::BlockHashOrNumber to alloy_eips::BlockId

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@mattsse mattsse merged commit 68c8bfc into alloy-rs:main Aug 5, 2024
22 checks passed
@emhane emhane deleted the emhane/block-id-conversion branch August 5, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants