Skip to content

Commit 0e4001e

Browse files
authored
feat: add auto impl on ScrollEngineApi (#357)
Signed-off-by: Gregory Edison <gregory.edison1993@gmail.com>
1 parent 12160d7 commit 0e4001e

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/scroll/alloy/provider/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ reth-rpc-api = { workspace = true, features = ["client"] }
3131
reth-scroll-engine-primitives.workspace = true
3232

3333
# misc
34+
auto_impl.workspace = true
3435
async-trait.workspace = true
3536
derive_more.workspace = true
3637
eyre.workspace = true

crates/scroll/alloy/provider/src/engine/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pub type ScrollEngineApiResult<T> = Result<T, ScrollEngineApiError>;
2121
/// Note:
2222
/// > The provider should use a JWT authentication layer.
2323
#[async_trait::async_trait]
24+
#[auto_impl::auto_impl(Arc, &, Box)]
2425
pub trait ScrollEngineApi {
2526
/// See also <https://github.com/ethereum/execution-apis/blob/6709c2a795b707202e93c4f2867fa0bf2640a84f/src/engine/paris.md#engine_newpayloadv1>
2627
/// Caution: This should not accept the `withdrawals` field

0 commit comments

Comments
 (0)