Skip to content

Commit

Permalink
Messaging: update latestBlock to pending
Browse files Browse the repository at this point in the history
  • Loading branch information
ybensacq authored Mar 31, 2024
1 parent 3620d72 commit a51ffa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/katana/core/src/service/messaging/starknet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ impl StarknetMessaging {
ExecutionEncoding::New,
);

account.set_block_id(BlockId::Tag(BlockTag::Latest));
account.set_block_id(BlockId::Tag(BlockTag::Pending));

Check warning on line 118 in crates/katana/core/src/service/messaging/starknet.rs

View check run for this annotation

Codecov / codecov/patch

crates/katana/core/src/service/messaging/starknet.rs#L118

Added line #L118 was not covered by tests

// TODO: we need to have maximum fee configurable.
let execution = account.execute(calls).fee_estimate_multiplier(10f64);
Expand Down

0 comments on commit a51ffa3

Please sign in to comment.