caelum0x ad6a7ec04a fix(tokenfactory): enable tx decode + handler registration (2 of 3 layers)
The hand-crafted Osmosis-compatible msg types were broken at several layers;
this fixes the first two so tokenfactory txs decode and resolve a handler:

1. Decode: add a real proto file descriptor + Descriptor() methods
   (types/descriptor.go, from a new proto/osmosis/tokenfactory/v1beta1/tx.proto)
   carrying the cosmos.msg.v1.signer and cosmos.msg.v1.service options. Fixes
   "*types.MsgCreateDenom does not have a Descriptor() method".
2. Handler registration: AppModule.RegisterServices type-asserted the registrar
   to module.Configurator, which the depinject runtime does not pass, so no msg
   handlers were registered ("no message handler found"). Register directly on
   the grpc.ServiceRegistrar. CheckTx now passes.

A third, deeper layer remains: create-denom/mint pass CheckTx but are silently
excluded from block proposals and never commit (a signer/ante incompatibility
from the hand-crafted types). Normal txs commit fine. The clean fix is a full
proto regeneration of the module. Documented in the readiness plan (Gap C).
2026-05-31 14:56:02 +03:00
..