From 72ac5be9000ff69959221ab23159f0764c23cbd2 Mon Sep 17 00:00:00 2001 From: zakir-code <80246097+zakir-code@users.noreply.github.com> Date: Fri, 28 Jul 2023 17:13:11 +0800 Subject: [PATCH] refactor(simapp): add `,squash` flag (#17172) (cherry picked from commit 1a331a6f9f5c45a4c8a7b40d58eae0ac4ba1f0d4) --- simapp/simd/cmd/root.go | 2 +- simapp/simd/cmd/root_v2.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/simapp/simd/cmd/root.go b/simapp/simd/cmd/root.go index fb1493aa8dd8..a392ec87216f 100644 --- a/simapp/simd/cmd/root.go +++ b/simapp/simd/cmd/root.go @@ -146,7 +146,7 @@ func initAppConfig() (string, interface{}) { } type CustomAppConfig struct { - serverconfig.Config + serverconfig.Config `mapstructure:",squash"` WASM WASMConfig `mapstructure:"wasm"` } diff --git a/simapp/simd/cmd/root_v2.go b/simapp/simd/cmd/root_v2.go index e73a653939e8..72f5dff29d73 100644 --- a/simapp/simd/cmd/root_v2.go +++ b/simapp/simd/cmd/root_v2.go @@ -156,7 +156,7 @@ func initAppConfig() (string, interface{}) { } type CustomAppConfig struct { - serverconfig.Config + serverconfig.Config `mapstructure:",squash"` WASM WASMConfig `mapstructure:"wasm"` }