Skip to content

Commit

Permalink
fix: manually estimate gas limit (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalir authored Oct 25, 2024
1 parent 9fc5f55 commit d308a29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/builder/src/tasks/submit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ impl SubmitTask {
let tx = self
.build_blob_tx(header, v, r, s, in_progress)?
.with_from(self.provider.default_signer_address())
.with_to(self.config.zenith_address);
.with_to(self.config.zenith_address)
.with_gas_limit(1_000_000);

if let Err(TransportError::ErrorResp(e)) =
self.provider.call(&tx).block(BlockNumberOrTag::Pending.into()).await
Expand Down

0 comments on commit d308a29

Please sign in to comment.