Skip to content

Commit

Permalink
Merge pull request #766 from clrfund/chore/up-max-contributors
Browse files Browse the repository at this point in the history
set MAX_CART_SIZE to 25
  • Loading branch information
yuetloo authored Jun 23, 2024
2 parents 62c93a4 + 0a2e2ac commit 9f29d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vue-app/src/api/contributions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import { Transaction } from '@/utils/transaction'
export const DEFAULT_CONTRIBUTION_AMOUNT = 5
export const MAX_CONTRIBUTION_AMOUNT = 10000 // See FundingRound.sol

// The batch of maximum size will burn 9100000 gas at 700000 gas per message
export const MAX_CART_SIZE = 8
// Limit the maximum projects to allow in the cart to avoid gas limit error
export const MAX_CART_SIZE = 25

export interface CartItem extends Project {
amount: string
Expand Down

0 comments on commit 9f29d51

Please sign in to comment.