Skip to content

Commit 715e1a6

Browse files
dylanlottprestwich
authored andcommitted
deps: bump builder version to 1.0.0-rc.0
1 parent af8134f commit 715e1a6

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "builder"
3-
version = "0.6.2"
3+
version = "1.0.0-rc.0"
44
description = "signet builder example"
55

66
edition = "2024"

src/tasks/submit/flashbots.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use tokio::{sync::mpsc, task::JoinHandle};
1818
use tracing::{Instrument, debug, debug_span, error, instrument};
1919

2020
/// Type alias for a EIP 7594 compatible blob sidecar transaction envelope.
21-
type SubmitEnvelope7594 = EthereumTxEnvelope<TxEip4844Variant<BlobTransactionSidecarEip7594>>;
21+
type TxEnvelope7594 = EthereumTxEnvelope<TxEip4844Variant<BlobTransactionSidecarEip7594>>;
2222

2323
/// Handles preparation and submission of simulated rollup blocks to the
2424
/// Flashbots relay as MEV bundles.
@@ -103,7 +103,7 @@ impl FlashbotsTask {
103103
async fn prepare_signed_transaction(
104104
&self,
105105
sim_result: &SimResult,
106-
) -> eyre::Result<SubmitEnvelope7594> {
106+
) -> eyre::Result<TxEnvelope7594> {
107107
let prep = SubmitPrep::new(
108108
&sim_result.block,
109109
self.host_provider(),
@@ -129,7 +129,7 @@ impl FlashbotsTask {
129129
///
130130
/// Sends the transaction hash to the outbound channel for monitoring.
131131
/// Logs a debug message if the channel is closed.
132-
fn track_outbound_tx(&self, envelope: &SubmitEnvelope7594) {
132+
fn track_outbound_tx(&self, envelope: &TxEnvelope7594) {
133133
counter!("signet.builder.flashbots.").increment(1);
134134
let hash = *envelope.tx_hash();
135135
if self.outbound.send(hash).is_err() {

src/tasks/submit/prep.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use init4_bin_base::deps::metrics::counter;
1515
use signet_sim::BuiltBlock;
1616
use signet_types::{SignRequest, SignResponse};
1717
use signet_zenith::Zenith;
18+
use tokio::try_join;
1819
use tracing::{Instrument, debug, error, instrument, warn};
1920

2021
/// Preparation logic for transactions issued to the host chain by the
@@ -130,8 +131,8 @@ impl<'a> SubmitPrep<'a> {
130131
async fn new_tx_request(&self) -> eyre::Result<TransactionRequest> {
131132
let nonce =
132133
self.provider.get_transaction_count(self.provider.default_signer_address()).await?;
133-
let sidecar = self.build_sidecar().await?;
134-
let input = self.build_input().await?;
134+
135+
let (sidecar, input) = try_join!(self.build_sidecar(), self.build_input())?;
135136

136137
let tx = TransactionRequest::default()
137138
.with_blob_sidecar(sidecar)

0 commit comments

Comments
 (0)