Skip to content

Commit fe3e828

Browse files
committed
fix: non-pub
1 parent 0cfed3d commit fe3e828

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

src/tasks/submit/flashbots.rs

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ pub enum FlashbotsError {
3838
#[derive(Debug)]
3939
pub struct FlashbotsTask {
4040
/// Builder configuration for the task.
41-
pub config: crate::config::BuilderConfig,
41+
config: crate::config::BuilderConfig,
4242
/// Flashbots RPC provider.
4343
flashbots: Flashbots,
4444
/// System constants for the rollup and host chain.
45-
pub constants: SignetSystemConstants,
45+
constants: SignetSystemConstants,
4646
/// Quincey instance for block signing.
47-
pub quincey: Quincey,
47+
quincey: Quincey,
4848
/// Zenith instance.
49-
pub zenith: ZenithInstance<HostProvider>,
49+
zenith: ZenithInstance<HostProvider>,
5050
/// Channel for sending hashes of outbound transactions.
51-
pub outbound: mpsc::UnboundedSender<TxHash>,
51+
_outbound: mpsc::UnboundedSender<TxHash>,
5252
/// Determines if the BundleHelper contract should be used for block submission.
5353
/// NB: If bundle_helper is not used, instead the Zenith contract
5454
/// submitBlock function is used.
@@ -61,7 +61,6 @@ impl FlashbotsTask {
6161
pub async fn new(
6262
config: crate::config::BuilderConfig,
6363
constants: SignetSystemConstants,
64-
6564
outbound: mpsc::UnboundedSender<TxHash>,
6665
bundle_helper: bool,
6766
) -> eyre::Result<FlashbotsTask> {
@@ -70,7 +69,15 @@ impl FlashbotsTask {
7069
let host_provider = config.connect_host_provider().await?;
7170
let zenith = config.connect_zenith(host_provider);
7271

73-
Ok(Self { config, constants, flashbots, quincey, zenith, outbound, bundle_helper })
72+
Ok(Self {
73+
config,
74+
constants,
75+
flashbots,
76+
quincey,
77+
zenith,
78+
_outbound: outbound,
79+
bundle_helper,
80+
})
7481
}
7582

7683
/// Returns a reference to the inner `HostProvider`

0 commit comments

Comments
 (0)