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

[Feature] Optimism Block, SubscriptionResult RPC types #5

Open
EmperorOrokuSaki opened this issue Apr 20, 2024 · 0 comments
Open

[Feature] Optimism Block, SubscriptionResult RPC types #5

EmperorOrokuSaki opened this issue Apr 20, 2024 · 0 comments

Comments

@EmperorOrokuSaki
Copy link
Contributor

EmperorOrokuSaki commented Apr 20, 2024

Component

rpc

Describe the feature you would like

Currently, the Block RPC type is not implemented for Optimism due to the complexities that arise from introducing a generic Transaction to the type.

Similarly, SubscriptionResult does not take a generic at this moment, you can find the relevant discussion to it in the link below.

Additional context

This could potentially be solved by making a transaction trait that can be used to restrict the generic.
Relevant discussion: alloy-rs/alloy#573

@EmperorOrokuSaki EmperorOrokuSaki changed the title [Feature] Optimism Block RPC type [Feature] Optimism Block, SubscriptionResult RPC types Apr 20, 2024
@EmperorOrokuSaki EmperorOrokuSaki mentioned this issue Apr 20, 2024
3 tasks
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

No branches or pull requests

2 participants