UpdateImpl
UpdateImpl is a method intended to be used on a proposal. This method will update the current govDAO implementation to a new one. AllowedDAOs are a list of realms that can call this method, in case the new DAO implementation had a breaking bug. A nil DAO is ignored. If AllowedDAOs field is not set correctly, the actual DAO implementation wont be able to execute new Proposals!
An empty AllowedDAOs is ignored rather than stored. An empty list makes InAllowedDAOs() return true for every caller — the bootstrap-only state that lets the genesis MsgRun seed the member set. Since this is the only site that assigns allowedDAOs, ignoring empty here makes the transition empty -> non-empty one-way: once locked down the DAO cannot be reopened, whether the empty value arrives as a literal []string{} or from NewUpdateRequest(d, nil), which copies nil into a non-nil empty slice. Individual entries must be non-blank realm paths; an empty entry would match a user realm's empty PkgPath() and is rejected.
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/gov/dao" -func "UpdateImpl" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "gnoland-1" -remote "https://rpc.gno.land" ADDRESSgnokey query -remote "https://rpc.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gov/dao" -func "UpdateImpl" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "gnoland-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.gno.land" call.tx