Skip to content

Commit

Permalink
fix: build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bhargavaparoksham committed Apr 25, 2024
1 parent 656e763 commit 91ee8cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/data-layer/src/data.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ export interface Round {
matchingCapAmount?: number;
minDonationThreshold?: boolean;
minDonationThresholdAmount?: number;
sybilDefense?: SybilDefence;
sybilDefense?: SybilDefence | boolean; // this is to support both old and new sybil defense types.
};
support?: {
type: string;
Expand Down Expand Up @@ -632,7 +632,7 @@ export interface MatchingFunds {

export interface QuadraticFundingConfig {
matchingCap: boolean;
sybilDefense: SybilDefence;
sybilDefense: SybilDefence | boolean;
matchingCapAmount?: number;
minDonationThreshold: boolean;
matchingFundsAvailable: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const applicationData = {
programContractAddress: "0x8294ea30a691b47bb73e4b64225e52a080dc9ec7",
quadraticFundingConfig: {
matchingCap: true,
sybilDefense: true,
sybilDefense: "auto",
matchingCapAmount: 7.42,
minDonationThreshold: true,
matchingFundsAvailable: 200000,
Expand Down
2 changes: 1 addition & 1 deletion packages/grant-explorer/src/test-utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const makeRoundData = (overrides: Partial<Round> = {}): Round => {
matchingCapAmount: 0,
minDonationThreshold: false,
minDonationThresholdAmount: 0,
sybilDefense: true,
sybilDefense: "auto",
},
},
store: {
Expand Down

0 comments on commit 91ee8cb

Please sign in to comment.