Skip to content

Commit 3d3c4cf

Browse files
committed
add debug statement, enable push on branch
1 parent a1a45c8 commit 3d3c4cf

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/protocol-build-and-push-snapshot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on: # yamllint disable-line rule:truthy
66
- main
77
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
88
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x
9+
- 'td/*'
910

1011
jobs:
1112
build-and-push-snapshot-dev:

.github/workflows/protocol-build-and-push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on: # yamllint disable-line rule:truthy
66
- main
77
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
88
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x
9+
- 'td/*'
910

1011
jobs:
1112
build-and-push-dev:

protocol/x/clob/abci.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ func EndBlocker(
112112

113113
// Poll out all triggered conditional orders from `UntriggeredConditionalOrders` and update state.
114114
triggeredConditionalOrderIds := keeper.MaybeTriggerConditionalOrders(ctx)
115+
if len(triggeredConditionalOrderIds) > 0 {
116+
fmt.Printf("!!!!!!! triggeredConditionalOrderIds = %+v !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n", triggeredConditionalOrderIds)
117+
}
118+
115119
// Update the memstore with conditional order ids triggered in the last block.
116120
// These triggered conditional orders will be placed in the `PrepareCheckState``.
117121
processProposerMatchesEvents.ConditionalOrderIdsTriggeredInLastBlock = triggeredConditionalOrderIds

0 commit comments

Comments
 (0)