Skip to content

Commit

Permalink
Merge pull request #472 from lidofinance/develop
Browse files Browse the repository at this point in the history
batch size
  • Loading branch information
Jeday authored Sep 12, 2024
2 parents 9bbe780 + 765af9c commit a0e2326
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 a0e2326

Please sign in to comment.