From f45acc995a4bc150b3f138e9b73feb0be6ad8cf2 Mon Sep 17 00:00:00 2001 From: gfanton <8671905+gfanton@users.noreply.github.com> Date: Fri, 20 Dec 2024 16:55:15 +0100 Subject: [PATCH] fix: gno.land config integration Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com> --- gno.land/pkg/integration/testing_integration.go | 1 + gno.land/pkg/integration/testing_node.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gno.land/pkg/integration/testing_integration.go b/gno.land/pkg/integration/testing_integration.go index 0a181950bb3..aac8e385902 100644 --- a/gno.land/pkg/integration/testing_integration.go +++ b/gno.land/pkg/integration/testing_integration.go @@ -287,6 +287,7 @@ func setupGnolandTestScript(t *testing.T, txtarDir string) testscript.Params { io.SetIn(strings.NewReader("\n")) // Inject empty password to stdin. defaultArgs := []string{ "-home", gnoHomeDir, + "-insecure-password-stdin=true", // There no use to not have this param by default. } diff --git a/gno.land/pkg/integration/testing_node.go b/gno.land/pkg/integration/testing_node.go index 7eaf3457b03..61feee19cce 100644 --- a/gno.land/pkg/integration/testing_node.go +++ b/gno.land/pkg/integration/testing_node.go @@ -178,8 +178,8 @@ func DefaultTestingTMConfig(gnoroot string) *tmcfg.Config { tmconfig := tmcfg.TestConfig().SetRootDir(gnoroot) tmconfig.Consensus.WALDisabled = true - tmconfig.Consensus.CreateEmptyBlocks = true - tmconfig.Consensus.CreateEmptyBlocksInterval = time.Duration(0) + tmconfig.Consensus.SkipTimeoutCommit = true + tmconfig.Consensus.CreateEmptyBlocks = false tmconfig.RPC.ListenAddress = defaultListner tmconfig.P2P.ListenAddress = defaultListner return tmconfig