Skip to content

Commit

Permalink
Merge pull request #471 from lidofinance/feature/si-1600-whitelist-fo…
Browse files Browse the repository at this point in the history
…r-contract-addresses

fix: batch size
  • Loading branch information
DiRaiks authored Sep 12, 2024
2 parents 507d7a1 + 696a953 commit 765af9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/groups/web3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const PROVIDER_POLLING_INTERVAL = 12_000;
// how long in ms to wait for RPC batching(multicall and provider)
export const PROVIDER_BATCH_TIME = 150;
// max batch
export const PROVIDER_MAX_BATCH = 10;
export const PROVIDER_MAX_BATCH = 20;

// account for gas estimation
// will always have >=0.001 ether, >=0.001 stETH, >=0.001 wstETH
Expand Down
2 changes: 1 addition & 1 deletion pages/api/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const rpc = rpcFactory({
'net_version',
],
allowedCallAddresses,
maxBatchCount: 10,
maxBatchCount: config.PROVIDER_MAX_BATCH,
});

export default wrapNextRequest([
Expand Down

0 comments on commit 765af9c

Please sign in to comment.