Skip to content

Commit

Permalink
tests liked null, graph deploy did not
Browse files Browse the repository at this point in the history
  • Loading branch information
EdNoepel committed Jul 14, 2023
1 parent 0ccdddd commit 3c0a6e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/grant-fund.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export function handleDistributionPeriodStarted(

distributionPeriod.startBlock = distributionStarted.startBlock
distributionPeriod.endBlock = distributionStarted.endBlock
distributionPeriod.topSlate = null
distributionPeriod.topSlate = Bytes.empty()
distributionPeriod.delegationRewardsClaimed = ZERO_BD
distributionPeriod.totalTokensRequested = ZERO_BD
distributionPeriod.fundingVotesCast = ZERO_BD
Expand Down
2 changes: 1 addition & 1 deletion src/utils/grants/distribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function loadOrCreateDistributionPeriod(distributionId: Bytes): Distribut
distributionPeriod = new DistributionPeriod(distributionId) as DistributionPeriod
distributionPeriod.startBlock = ZERO_BI
distributionPeriod.endBlock = ZERO_BI
distributionPeriod.topSlate = null
distributionPeriod.topSlate = Bytes.empty()
distributionPeriod.slatesSubmitted = []
distributionPeriod.delegationRewardsClaimed = ZERO_BD
distributionPeriod.fundingVotesCast = ZERO_BD
Expand Down

0 comments on commit 3c0a6e9

Please sign in to comment.