Skip to content

Commit

Permalink
custom provider
Browse files Browse the repository at this point in the history
  • Loading branch information
code7551 committed Jan 14, 2024
1 parent 385b51e commit 5695867
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/operator/getSubmissionsForChallenges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export async function getSubmissionsForChallenges(
callback?: (submission: Submission, index: number) => Promise<void>,
chunkSize: number = 20,
): Promise<Submission[]> {
const provider = getProvider();
const provider = getProvider(
"https://arb-mainnet.g.alchemy.com/v2/p_LSgTIj_JtEt3JPM7IZIZFL1a70yvQJ"
);
const refereeContract = new ethers.Contract(config.refereeAddress, RefereeAbi, provider);
const submissions: Submission[] = [];
for (let i = 0; i < challengeIds.length; i += chunkSize) {
Expand Down

0 comments on commit 5695867

Please sign in to comment.