Skip to content

Commit

Permalink
Merge pull request #315 from delta-hq/vfat-batch-reduce
Browse files Browse the repository at this point in the history
increase delay in batch calls for vfat
  • Loading branch information
0xroll authored Nov 2, 2024
2 parents 4b8fff5 + f9b8469 commit f5f8be2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adapters/vfat/src/sdk/nile/lensDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const fetchUserVotes = async (
tokenCalls,
blockNumber,
500,
200,
2000,
);

const detailsCalls = userTokensCalls.map((call) => ({
Expand Down
2 changes: 1 addition & 1 deletion adapters/vfat/src/sdk/pancake/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export const getOwnerFromMasterChef = async (
params: [BigInt(pid)],
}));

const results = await batchMulticall(abi, calls, blockNumber, 300, 200);
const results = await batchMulticall(abi, calls, blockNumber, 300, 2000);

return results.map((r) => (r as any)[6] as string);
};
Expand Down

0 comments on commit f5f8be2

Please sign in to comment.