diff --git a/protocol/x/clob/abci.go b/protocol/x/clob/abci.go index bd62a7b819..381ba41f82 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.InitializeNewStreams(ctx) - // Get the events generated from processing the matches in the latest block. processProposerMatchesEvents := keeper.GetProcessProposerMatchesEvents(ctx) if ctx.BlockHeight() != int64(processProposerMatchesEvents.BlockHeight) { @@ -261,6 +258,9 @@ func PrepareCheckState( types.GetInternalOperationsQueueTextString(newLocalValidatorOperationsQueue), ) + // Initialize new streams with orderbook snapshots, if any. + keeper.InitializeNewStreams(ctx) + // Set per-orderbook gauges. keeper.MemClob.SetMemclobGauges(ctx) }