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.