Skip to content

Commit

Permalink
Merge branch 'ArkProjectNFTs:solis' into solis
Browse files Browse the repository at this point in the history
  • Loading branch information
ybensacq authored Apr 4, 2024
2 parents 32d70ad + ae2a76c commit 00f14d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/katana/core/src/service/messaging/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl MessagingService {
) -> MessengerResult<(u64, usize)> {
// 200 avoids any possible rejection from RPC with possibly lot's of messages.
// TODO: May this be configurable?
let max_block = 200;
let max_block = 20;

match messenger.as_ref() {
MessengerMode::Ethereum(inner) => {
Expand Down
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 00f14d4

Please sign in to comment.