Skip to content

Commit

Permalink
fix: emit all properties for BundleFinalizedEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
mbreithecker committed Jun 12, 2024
1 parent cac6176 commit fa8cd5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions x/bundles/keeper/logic_bundles.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,13 +422,14 @@ func (k Keeper) finalizeCurrentBundleProposal(ctx sdk.Context, poolId uint64, vo
FundersPayout: fundersPayout.String(),
InflationPayout: inflationPayout,
RewardTreasury: bundleReward.Treasury.String(),
RewardUploaderCommission: bundleReward.UploaderCommission.String(),
RewardUploaderStorageCost: bundleReward.UploaderStorageCost.String(),
RewardUploader: bundleReward.UploaderCommission.Add(bundleReward.UploaderStorageCost...).String(),
RewardDelegation: bundleReward.Delegation.String(),
RewardTotal: bundleReward.Total.String(),
FinalizedAt: uint64(ctx.BlockTime().Unix()),
Uploader: bundleProposal.Uploader,
NextUploader: nextUploader,
RewardUploaderCommission: bundleReward.UploaderCommission.String(),
RewardUploaderStorageCost: bundleReward.UploaderStorageCost.String(),
})

// Finalize the proposal, saving useful information.
Expand Down

0 comments on commit fa8cd5b

Please sign in to comment.