Skip to content

Commit a199e2c

Browse files
committed
fix
1 parent 72d2c26 commit a199e2c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

bin/builder.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ async fn main() -> eyre::Result<()> {
4343
zenith,
4444
quincey,
4545
config: config.clone(),
46-
constants: constants,
46+
constants,
4747
outbound_tx_channel: tx_channel,
48-
host_provider: host_provider.clone(),
4948
};
5049

5150
// Set up tx submission

src/tasks/submit/task.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ impl SubmitTask {
220220
}
221221

222222
// Prep the span we'll use for the transaction submission
223-
let hbn = sim_result.env.host.number;
223+
let hbn = sim_result.env.block_env.number;
224224
let span = debug_span!(
225225
"SubmitTask::tx_submission",
226226
tx_count = sim_result.block.tx_count(),
@@ -237,7 +237,7 @@ impl SubmitTask {
237237
self.constants,
238238
);
239239
let bumpable =
240-
match prep.prep_transaction(&sim_result.env.host).instrument(span.clone()).await {
240+
match prep.prep_transaction(&sim_result.env.prev_header).instrument(span.clone()).await {
241241
Ok(bumpable) => bumpable,
242242
Err(error) => {
243243
error!(%error, "failed to prepare transaction for submission");

0 commit comments

Comments
 (0)