Skip to content

Commit 44d10f6

Browse files
committed
nit: type alias at top
1 parent 8136497 commit 44d10f6

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/config.rs

+13-13
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@ use signet_types::config::{HostConfig, PredeployTokens, RollupConfig, SignetSyst
2020
use signet_zenith::Zenith;
2121
use std::borrow::Cow;
2222

23+
/// Type alias for the provider used to build and submit blocks to the host.
24+
pub type HostProvider = FillProvider<
25+
JoinFill<
26+
JoinFill<
27+
Identity,
28+
JoinFill<GasFiller, JoinFill<BlobGasFiller, JoinFill<NonceFiller, ChainIdFiller>>>,
29+
>,
30+
WalletFiller<EthereumWallet>,
31+
>,
32+
RootProvider,
33+
Ethereum,
34+
>;
35+
2336
/// Configuration for a builder running a specific rollup on a specific host
2437
/// chain.
2538
#[derive(serde::Deserialize, Debug, Clone, FromEnv)]
@@ -142,19 +155,6 @@ pub struct BuilderConfig {
142155
pub slot_calculator: SlotCalculator,
143156
}
144157

145-
/// Type alias for the provider used to build and submit blocks to the host.
146-
pub type HostProvider = FillProvider<
147-
JoinFill<
148-
JoinFill<
149-
Identity,
150-
JoinFill<GasFiller, JoinFill<BlobGasFiller, JoinFill<NonceFiller, ChainIdFiller>>>,
151-
>,
152-
WalletFiller<EthereumWallet>,
153-
>,
154-
RootProvider,
155-
Ethereum,
156-
>;
157-
158158
/// Type alias for the provider used to simulate against rollup state.
159159
pub type RuProvider = RootProvider<Ethereum>;
160160

0 commit comments

Comments
 (0)