diff --git a/CHANGELOG.md b/CHANGELOG.md index fcefb19bb4b..f1e46c860f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ ### 🐛 Fixes +- [10946](https://github.com/vegaprotocol/vega/issues/10945) - Save dispatch strategy for recurring governance transfer in the database. - [10943](https://github.com/vegaprotocol/vega/issues/10943) - Fix error message format when node vote is sent again. ## 0.75.0 diff --git a/core/types/banking.go b/core/types/banking.go index c94f55c9483..97c71fae07d 100644 --- a/core/types/banking.go +++ b/core/types/banking.go @@ -180,8 +180,9 @@ func (g *GovernanceTransfer) IntoEvent(amount *num.Uint, reason, gameID *string) } else { out.Kind = &eventspb.Transfer_RecurringGovernance{ RecurringGovernance: &eventspb.RecurringGovernanceTransfer{ - StartEpoch: g.Config.RecurringTransferConfig.StartEpoch, - EndEpoch: g.Config.RecurringTransferConfig.EndEpoch, + StartEpoch: g.Config.RecurringTransferConfig.StartEpoch, + EndEpoch: g.Config.RecurringTransferConfig.EndEpoch, + DispatchStrategy: g.Config.RecurringTransferConfig.DispatchStrategy, }, } } diff --git a/datanode/entities/transfer.go b/datanode/entities/transfer.go index 02bc1f32a65..47df3d6b6af 100644 --- a/datanode/entities/transfer.go +++ b/datanode/entities/transfer.go @@ -150,7 +150,8 @@ func (t *Transfer) ToProto(ctx context.Context, accountSource AccountSource) (*e proto.Kind = &eventspb.Transfer_OneOffGovernance{OneOffGovernance: &eventspb.OneOffGovernanceTransfer{DeliverOn: t.DeliverOn.UnixNano()}} case GovernanceRecurring: recurringTransfer := &eventspb.RecurringGovernanceTransfer{ - StartEpoch: *t.StartEpoch, + StartEpoch: *t.StartEpoch, + DispatchStrategy: t.DispatchStrategy, } if t.EndEpoch != nil {