Skip to content

Commit

Permalink
chore: fix typo in transaction result for stop_orders_{submission/can…
Browse files Browse the repository at this point in the history
…cellation}

Signed-off-by: Jeremy Letang <[email protected]>
  • Loading branch information
jeremyletang committed Apr 22, 2024
1 parent 169929f commit 289ff53
Show file tree
Hide file tree
Showing 3 changed files with 1,306 additions and 1,305 deletions.
8 changes: 4 additions & 4 deletions core/events/transaction_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@ func (t *TransactionResult) setTx(tx interface{}) *TransactionResult {
EthereumKeyRotateSubmission: tv,
}
case *commandspb.StopOrdersSubmission:
t.evt.Transaction = &eventspb.TransactionResult_StopOrderSubmission{
StopOrderSubmission: tv,
t.evt.Transaction = &eventspb.TransactionResult_StopOrdersSubmission{
StopOrdersSubmission: tv,
}
case *commandspb.StopOrdersCancellation:
t.evt.Transaction = &eventspb.TransactionResult_StopOrderCancellation{
StopOrderCancellation: tv,
t.evt.Transaction = &eventspb.TransactionResult_StopOrdersCancellation{
StopOrdersCancellation: tv,
}
case *commandspb.CreateReferralSet:
t.evt.Transaction = &eventspb.TransactionResult_CreateReferralSet{
Expand Down
4 changes: 2 additions & 2 deletions protos/sources/vega/events/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ message TransactionResult {
commands.v1.BatchMarketInstructions batch_market_instructions = 119;
commands.v1.KeyRotateSubmission key_rotate_submission = 120;
commands.v1.EthereumKeyRotateSubmission ethereum_key_rotate_submission = 121;
commands.v1.StopOrdersSubmission stop_order_submission = 122;
commands.v1.StopOrdersCancellation stop_order_cancellation = 123;
commands.v1.StopOrdersSubmission stop_orders_submission = 122;
commands.v1.StopOrdersCancellation stop_orders_cancellation = 123;
commands.v1.CreateReferralSet create_referral_set = 124;
commands.v1.UpdateReferralSet update_referral_set = 125;
commands.v1.ApplyReferralCode apply_referral_code = 126;
Expand Down
Loading

0 comments on commit 289ff53

Please sign in to comment.