diff --git a/gno.land/pkg/gnoland/app.go b/gno.land/pkg/gnoland/app.go index 49d41f2faeb..1df644b72f2 100644 --- a/gno.land/pkg/gnoland/app.go +++ b/gno.land/pkg/gnoland/app.go @@ -187,6 +187,7 @@ func NewApp( GenesisTxResultHandler: PanicOnFailingTxResultHandler, StdlibDir: filepath.Join(gnoenv.RootDir(), "gnovm", "stdlibs"), }, + ParamsMaxCacheSize: 100, } if skipFailingGenesisTxs { cfg.GenesisTxResultHandler = NoopGenesisTxResultHandler diff --git a/gno.land/pkg/gnoland/node_inmemory.go b/gno.land/pkg/gnoland/node_inmemory.go index 426a8c780c7..62fc01ad157 100644 --- a/gno.land/pkg/gnoland/node_inmemory.go +++ b/gno.land/pkg/gnoland/node_inmemory.go @@ -110,6 +110,7 @@ func NewInMemoryNode(logger *slog.Logger, cfg *InMemoryNodeConfig) (*node.Node, EventSwitch: evsw, InitChainerConfig: cfg.InitChainerConfig, VMOutput: cfg.VMOutput, + ParamsMaxCacheSize: 100,, }) if err != nil { return nil, fmt.Errorf("error initializing new app: %w", err)