feat: op eth api scaffolding (#9324)

This commit is contained in:
Matthias Seitz
2024-07-05 13:05:23 +02:00
committed by GitHub
parent 36d74400e6
commit 3b29ed74c0
5 changed files with 85 additions and 1 deletions

View File

@@ -47,6 +47,8 @@ pub trait TraceExt:
impl<T> TraceExt for T where T: LoadTransaction + LoadBlock + LoadPendingBlock + Trace + Call {}
/// Helper trait to unify all `eth` rpc server building block traits, for simplicity.
///
/// This trait is automatically implemented for any type that implements all the `Eth` traits.
pub trait FullEthApi:
EthApiSpec + EthTransactions + EthBlocks + EthState + EthCall + EthFees + Trace + LoadReceipt
{