Skip to content

Commit

Permalink
Merge pull request #8 from ArkProjectNFTs/7-bug-issue-when-sending-tx…
Browse files Browse the repository at this point in the history
…-used-block-is-the-last-one-instead-of-the-pending-one

fix(messaging): update latestBlock to pending
  • Loading branch information
kwiss authored Apr 1, 2024
2 parents 3ac6775 + a51ffa3 commit 47d0971
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 @@ -125,7 +125,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);
Expand Down

0 comments on commit 47d0971

Please sign in to comment.