Skip to content

Commit

Permalink
fix(messaging): update latestBlock to pending (starkware-libs#1743)
Browse files Browse the repository at this point in the history
Messaging: update latestBlock to pending
  • Loading branch information
ybensacq authored Apr 8, 2024
1 parent 5015ea1 commit e974ee6
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 @@ -118,7 +118,7 @@ impl StarknetMessaging {
ExecutionEncoding::New,
);

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

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

0 comments on commit e974ee6

Please sign in to comment.