diff --git a/protocol/x/clob/abci.go b/protocol/x/clob/abci.go index 46e0ff77fd..c0854f4c61 100644 --- a/protocol/x/clob/abci.go +++ b/protocol/x/clob/abci.go @@ -146,9 +146,6 @@ func PrepareCheckState( // Prune any rate limiting information that is no longer relevant. keeper.PruneRateLimits(ctx) - // Initialize new streams with orderbook snapshots, if any. - keeper.InitializeNewGrpcStreams(ctx) - // Get the events generated from processing the matches in the latest block. processProposerMatchesEvents := keeper.GetProcessProposerMatchesEvents(ctx) if ctx.BlockHeight() != int64(processProposerMatchesEvents.BlockHeight) { @@ -260,6 +257,9 @@ func PrepareCheckState( types.GetInternalOperationsQueueTextString(newLocalValidatorOperationsQueue), ) + // Initialize new streams with orderbook snapshots, if any. + keeper.InitializeNewGrpcStreams(ctx) + // Set per-orderbook gauges. keeper.MemClob.SetMemclobGauges(ctx) }