File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,8 @@ async fn main() -> eyre::Result<()> {
43
43
zenith,
44
44
quincey,
45
45
config : config. clone ( ) ,
46
- constants : constants ,
46
+ constants,
47
47
outbound_tx_channel : tx_channel,
48
- host_provider : host_provider. clone ( ) ,
49
48
} ;
50
49
51
50
// Set up tx submission
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ impl SubmitTask {
220
220
}
221
221
222
222
// 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 ;
224
224
let span = debug_span ! (
225
225
"SubmitTask::tx_submission" ,
226
226
tx_count = sim_result. block. tx_count( ) ,
@@ -237,7 +237,7 @@ impl SubmitTask {
237
237
self . constants ,
238
238
) ;
239
239
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 {
241
241
Ok ( bumpable) => bumpable,
242
242
Err ( error) => {
243
243
error ! ( %error, "failed to prepare transaction for submission" ) ;
You can’t perform that action at this time.
0 commit comments