Skip to content

Commit

Permalink
add debug statement, enable push on branch
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyding committed Jul 2, 2024
1 parent a1a45c8 commit 3d3c4cf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/protocol-build-and-push-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on: # yamllint disable-line rule:truthy
- main
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x
- 'td/*'

jobs:
build-and-push-snapshot-dev:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/protocol-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on: # yamllint disable-line rule:truthy
- main
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x
- 'td/*'

jobs:
build-and-push-dev:
Expand Down
4 changes: 4 additions & 0 deletions protocol/x/clob/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ func EndBlocker(

// Poll out all triggered conditional orders from `UntriggeredConditionalOrders` and update state.
triggeredConditionalOrderIds := keeper.MaybeTriggerConditionalOrders(ctx)
if len(triggeredConditionalOrderIds) > 0 {
fmt.Printf("!!!!!!! triggeredConditionalOrderIds = %+v !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n", triggeredConditionalOrderIds)
}

// Update the memstore with conditional order ids triggered in the last block.
// These triggered conditional orders will be placed in the `PrepareCheckState``.
processProposerMatchesEvents.ConditionalOrderIdsTriggeredInLastBlock = triggeredConditionalOrderIds
Expand Down

0 comments on commit 3d3c4cf

Please sign in to comment.