diff --git a/gno.land/cmd/gnoland/start.go b/gno.land/cmd/gnoland/start.go index f392785bd6d..77d7e20b8ef 100644 --- a/gno.land/cmd/gnoland/start.go +++ b/gno.land/cmd/gnoland/start.go @@ -58,7 +58,6 @@ type startCfg struct { genesisRemote string // TODO: remove as part of https://github.com/gnolang/gno/issues/1952 genesisFile string chainID string - chainDomain string dataDir string lazyInit bool @@ -123,13 +122,6 @@ func (c *startCfg) RegisterFlags(fs *flag.FlagSet) { "the ID of the chain", ) - fs.StringVar( - &c.chainDomain, - "chaindomain", - "gno.land", - "the domain of the chain for packages", - ) - fs.StringVar( &c.gnoRootDir, "gnoroot-dir", diff --git a/gno.land/cmd/gnoland/testdata/genesis_params.txtar b/gno.land/cmd/gnoland/testdata/genesis_params.txtar index 43ecd8ccacb..07094593b83 100644 --- a/gno.land/cmd/gnoland/testdata/genesis_params.txtar +++ b/gno.land/cmd/gnoland/testdata/genesis_params.txtar @@ -2,6 +2,11 @@ gnoland start +# official params (right now they makes sense to be tested in a txtar to validate that a default "gnoland" initialization will have default values) +gnokey query params/vm/gno.land/r/sys/params.vm.chain_domain.string +stdout 'data: "gno.land"$' + +# test params gnokey query params/vm/gno.land/r/sys/params.test.foo.string stdout 'data: "bar"$' gnokey query params/vm/gno.land/r/sys/params.test.foo.int64 @@ -10,5 +15,5 @@ gnokey query params/vm/gno.land/r/sys/params.test.foo.uint64 stdout 'data: "42"' gnokey query params/vm/gno.land/r/sys/params.test.foo.bool stdout 'data: true' -# XXX: bytes +# XXX: consider adding a test with bytes