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

fix: more abstraction for block transactions #666

Merged
merged 1 commit into from
May 2, 2024

Conversation

prestwich
Copy link
Member

Motivation

Closes #665, lays groundwork for re-use of BlockTransactions by other networks

Solution

Propagate generic over T wherever possible, add fallible casting convenience methods
includes a drive-by doctest fix

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@prestwich prestwich added enhancement New feature or request debt Tech debt which needs to be addressed labels May 2, 2024
@prestwich prestwich self-assigned this May 2, 2024
@prestwich
Copy link
Member Author

necessary followup work:

  • decide how to bound the N::TransactionResponse type to allow access to the hash

@prestwich prestwich merged commit aa4b97c into main May 2, 2024
24 checks passed
@prestwich prestwich deleted the prestwich/block-txns-fixes branch May 2, 2024 14:11
ben186 pushed a commit to ben186/alloy that referenced this pull request Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debt Tech debt which needs to be addressed enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Full BlockTransactions doesn't offer access to Transaction slice
2 participants