Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit d308a29

Browse files
authored
fix: manually estimate gas limit (#62)
1 parent 9fc5f55 commit d308a29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/builder/src/tasks/submit.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ impl SubmitTask {
144144
let tx = self
145145
.build_blob_tx(header, v, r, s, in_progress)?
146146
.with_from(self.provider.default_signer_address())
147-
.with_to(self.config.zenith_address);
147+
.with_to(self.config.zenith_address)
148+
.with_gas_limit(1_000_000);
148149

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

0 commit comments

Comments
 (0)