Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(messaging): update latestBlock to pending #1743

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
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
Loading