-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
chore(rpc): EthTransactions
default trait methods using pending block
#8659
chore(rpc): EthTransactions
default trait methods using pending block
#8659
Conversation
blocked by #8640 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, I should have looked at this first.
makes sense!
lgtm
@@ -41,7 +41,7 @@ impl<Eth> EthBundle<Eth> { | |||
|
|||
impl<Eth> EthBundle<Eth> | |||
where | |||
Eth: EthTransactions + LoadState + SpawnBlocking + 'static, | |||
Eth: EthTransactions + LoadState + SpawnBlocking + LoadPendingBlock + 'static, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could see the value in stacking them via utility traits, but we can do that later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed, like for the provider interface. the provider interface is awesome, using it is good devx.
Moves
EthTransactions
impl onEthApi
, that uses pending block, to default trait methods