Completes the tokenfactory tx-submittability work. The generated proto
descriptor + handler-registration fixes landed in ad6a7ec0 (layers 1-2);
this finishes the remaining layers and validates the whole path on a live
node.
- Client-side decode (layer 4): `clawchaind query tx`, block explorers, and
tx history failed with "unable to resolve type URL
/osmosis.tokenfactory.v1beta1.Msg*". The module is wired manually
(app/tokenfactory.go), so app.RegisterModules registers its interfaces on
the server registry, but the depinject-built client registry in root.go
never saw them. Now ProvideClientContext calls
tokenfactorytypes.RegisterInterfaces.
- Block inclusion (layer 3) confirmed resolved: the earlier "txs pass CheckTx
but are excluded from proposals" symptom was the first (hand-built)
descriptor omitting the cosmos.msg.v1.signer option, so the proposal-path
ante handler could not resolve the signer. The properly generated
descriptor in descriptor.go carries the signer option; a stale untracked
tx_descriptor.go that shadowed it was removed.
- Regression test: x/tokenfactory/types/descriptor_test.go reproduces the
original "does not have a Descriptor() method" failure and asserts
RejectUnknownFields accepts a valid MsgMint (Coin submessage included).
Proven end-to-end on the live local node as real signed CLI txs:
create-denom (code 0) -> mint 1000000 (balance 1000000) -> burn 400000
(balance 600000); query tx now decodes the messages. The hand-written
Marshal/Unmarshal and ProtoCoin in msgs.go are unchanged, preserving the
validated Astroport-DEX Stargate wire path and all existing tests.
Add x/tokenfactory/client/cli/tx.go (GetTxCmd with create-denom/mint/burn) and
wire it into the root tx command, so the subcommands now appear under
`clawchaind tx tokenfactory`.
Doing so surfaced a deeper, real gap: the hand-crafted Osmosis-compatible msg
types (MsgCreateDenom/Mint/Burn) implement Marshal/Unmarshal but have no proto
Descriptor() method, so submitting them fails at decode time
("*types.MsgCreateDenom does not have a Descriptor() method"). The module is
unit-tested but its messages are not tx-submittable by the standard codec. The
CLI scaffolding is ready; the actual blocker is generating proper proto
descriptors for these types. Documented in the readiness plan (Gap C update).
The privacy module loads Groth16 verifying keys from <home>/keys at startup;
local dev nodes had none, so shield/unshield were unavailable and the node
logged "verifying keys not loaded".
- Add `clawchaind privacy gen-dev-keys [dir]` which runs the transfer/unshield
Groth16 setup and writes transfer_vk.bin / unshield_vk.bin. Clearly labelled
INSECURE/dev-only — production must use the trusted-setup MPC ceremony output.
- local-dev.sh generates the dev keys before starting the node.
Verified: keys are produced and loaded; the startup warning is gone.
Launch-readiness hardening for the deployment path.
- Remove the live 24-word faucet mnemonic shipped as a default in
docker-compose.yml and .env.example; compose now fails fast if FAUCET_MNEMONIC
is unset. (The leaked phrase remains in git history: rotate that key.)
- Make the keyring backend configurable in docker-entrypoint.sh (defaults to the
insecure "test" backend for dev with a loud warning; supports file/os with a
passphrase and fails closed when one is required).
- Add a real multi-validator genesis ceremony: scripts/genesis-ceremony.sh
(build-base + collect) and mainnet/README.md flagging the current
single-validator genesis.json as a non-production dev stub.
- Strengthen clawd launch-checklist item 8 to fail on a single-validator stub,
placeholder allocation addresses, and a past genesis_time instead of only
checking valid JSON.
- Add openclaw build stage (Node 22, pnpm) to clawd Dockerfile
- Copy openclaw dist + node_modules into /opt/openclaw/
- Set CLAWD_OPENCLAW_BIN env var so clawd finds openclaw at runtime
- Update docker-compose.yml build context to repo root
- Upgrades clawd image from Node 20 to Node 22 (required by openclaw)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>