Skip to content

Commit

Permalink
added another log
Browse files Browse the repository at this point in the history
  • Loading branch information
EdNoepel committed Jul 15, 2023
1 parent de1553b commit 87e48e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/grant-fund.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ export function handleProposalCreated(event: ProposalCreatedEvent): void {
distributionPeriod.proposals = distributionPeriod.proposals.concat([proposal.id])
distributionPeriod.totalTokensRequested = distributionPeriod.totalTokensRequested.plus(proposal.totalTokensRequested)
log.info("saved distribution period {} with proposal {}", [distributionId.toString(), proposalId.toHexString()])
log.info("there are now {} proposals in the list", [distributionPeriod.proposals.length.toString()])

// record proposals distributionId
proposal.distribution = distributionPeriod.id
Expand Down

0 comments on commit 87e48e7

Please sign in to comment.