From 088eecae70d62fd0b4f406994aacc068d903d8d8 Mon Sep 17 00:00:00 2001 From: Morgan Date: Wed, 29 May 2024 10:32:48 +0200 Subject: [PATCH] fix(gnodev): disable wal (#2230) This will avoid creating the `wal` directory whenever `gnodev` is used.
Contributors' checklist... - [ ] Added new tests, or not needed, or not feasible - [ ] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [ ] Updated the official documentation or not needed - [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [ ] Added references to related issues and PRs - [ ] Provided any useful hints for running manual tests - [ ] Added new benchmarks to [generated graphs](https://gnoland.github.io/benchmarks), if any. More info [here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
--- contribs/gnodev/pkg/dev/node.go | 1 + 1 file changed, 1 insertion(+) diff --git a/contribs/gnodev/pkg/dev/node.go b/contribs/gnodev/pkg/dev/node.go index 4139c274b82..30ad262b1b0 100644 --- a/contribs/gnodev/pkg/dev/node.go +++ b/contribs/gnodev/pkg/dev/node.go @@ -42,6 +42,7 @@ type NodeConfig struct { func DefaultNodeConfig(rootdir string) *NodeConfig { tmc := gnoland.NewDefaultTMConfig(rootdir) tmc.Consensus.SkipTimeoutCommit = false // avoid time drifting, see issue #1507 + tmc.Consensus.WALDisabled = true defaultDeployer := crypto.MustAddressFromString(integration.DefaultAccount_Address) balances := []gnoland.Balance{