diff --git a/x/wasm/keeper/options.go b/x/wasm/keeper/options.go index 4537c7969e..1f477991a9 100644 --- a/x/wasm/keeper/options.go +++ b/x/wasm/keeper/options.go @@ -118,7 +118,7 @@ func WithAccountPruner(x AccountPruner) Option { } func WithVMCacheMetrics(r prometheus.Registerer) Option { - return optsFn(func(k *Keeper) { + return postOptsFn(func(k *Keeper) { NewWasmVMMetricsCollector(k.wasmVM).Register(r) }) }