Skip to content

Commit

Permalink
Stop passing in app PreBlocker to slinky VE handler
Browse files Browse the repository at this point in the history
  • Loading branch information
roy-dydx committed May 10, 2024
1 parent 711ae63 commit 579aa45
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion protocol/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1542,7 +1542,12 @@ func (app *App) initOracle(pricesTxDecoder process.UpdateMarketPriceTxDecoder) {
compression.NewDefaultVoteExtensionCodec(),
compression.NewZLibCompressor(),
),
app.PreBlocker,
// We are not using the slinky PreBlocker, so there is no need to pass in PreBlocker here.
// Currently, the clob PreBlocker assumes that it will only be called during the normal ABCI
// PreBlocker step, so passing in the app PreBlocker will cause issues.
func(_ sdk.Context, _ *abci.RequestFinalizeBlock) (*sdk.ResponsePreBlock, error) {
return nil, nil
},
app.oracleMetrics,
)

Expand Down

0 comments on commit 579aa45

Please sign in to comment.