Skip to content

Commit

Permalink
Merge branch 'main' into fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKurt authored Apr 26, 2024
2 parents 4b4bac6 + bf0e0c5 commit c1118a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
16 changes: 5 additions & 11 deletions packages/common/src/allo/backends/allo-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,6 @@ export class AlloV2 implements Allo {
60_000,
publicClient
);
await this.waitUntilIndexerSynced({
chainId: this.chainId,
blockNumber: receipt.blockNumber,
});
return receipt;
} else {
throw tx.error;
Expand Down Expand Up @@ -696,13 +692,11 @@ export class AlloV2 implements Allo {
throw new AlloError("DirectGrants is not supported yet!");
}

const strategyInstance = new DonationVotingMerkleDistributionStrategy(
{
chain: this.chainId,
poolId: BigInt(args.roundId),
address: args.strategyAddress,
}
);
const strategyInstance = new DonationVotingMerkleDistributionStrategy({
chain: this.chainId,
poolId: BigInt(args.roundId),
address: args.strategyAddress,
});

const totalApplications = await strategyInstance.recipientsCounter();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ export function ProjectStats() {
(isInfiniteDate(round.roundEndTime) || round.roundEndTime > new Date());

return (
<div className="p-4 gap-4 grid grid-cols-3 md:flex md:flex-col text-blue-800">
<div className="rounded-3xl flex-auto p-3 md:p-4 gap-4 flex flex-col text-blue-800">
<Stat
isLoading={!application}
value={`$${application?.totalAmountDonatedInUsd.toFixed(2)}`}
Expand Down

0 comments on commit c1118a5

Please sign in to comment.