From 2f3d4446a4333a41d29cce992130d3492c02ad6d Mon Sep 17 00:00:00 2001 From: Michael Tsitrin <114929630+mtsitrin@users.noreply.github.com> Date: Mon, 28 Aug 2023 17:07:29 +0300 Subject: [PATCH] fix: dymint expect mock in config instead of local (#460) --- sequencer/config.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sequencer/config.go b/sequencer/config.go index c2c2fd6c..6f5dcbc9 100644 --- a/sequencer/config.go +++ b/sequencer/config.go @@ -68,6 +68,11 @@ func updateDaConfigInToml(rlpCfg config.RollappConfig, dymintCfg *toml.Tree) err } dymintCfg.Set("namespace_id", celDAManager.NamespaceID) } + + if rlpCfg.DA == config.Local { + dymintCfg.Set("da_layer", "mock") + } + return nil }