diff --git a/contribs/gnodev/pkg/dev/node.go b/contribs/gnodev/pkg/dev/node.go index 4937d38c17b..d083e167849 100644 --- a/contribs/gnodev/pkg/dev/node.go +++ b/contribs/gnodev/pkg/dev/node.go @@ -123,10 +123,16 @@ func NewDevNode(ctx context.Context, cfg *NodeConfig) (*Node, error) { currentStateIndex: len(cfg.InitialTxs), } + var tzParam gnoland.Param + _ = tzParam.Parse("gno.land/r/sys/params.vm.chain_tz.string=" + cfg.ChainTz) + // generate genesis state genesis := gnoland.GnoGenesisState{ Balances: cfg.BalancesList, Txs: append(pkgsTxs, cfg.InitialTxs...), + Params: []gnoland.Param{ + tzParam, + }, } if err := devnode.rebuildNode(ctx, genesis); err != nil {