Skip to content

Commit

Permalink
fix: gno.land config integration
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <[email protected]>
  • Loading branch information
gfanton committed Dec 20, 2024
1 parent e55ff48 commit f45acc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions gno.land/pkg/integration/testing_integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}

Expand Down
4 changes: 2 additions & 2 deletions gno.land/pkg/integration/testing_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f45acc9

Please sign in to comment.