message: stargate: Add distribution msgs to default type registry
diff: @@ -28,6 +28,12 @@ import { cosmos } from "./codec";
  import { BroadcastTxResponse, StargateClient } from "./stargateclient";
  const { MsgMultiSend } = cosmos.bank.v1beta1;
  +const {
  + MsgFundCommunityPool,
  + MsgSetWithdrawAddress,
  + MsgWithdrawDelegatorReward,
  + MsgWithdrawValidatorCommission,
  +} = cosmos.distribution.v1beta1;
  const {
  MsgBeginRedelegate,
  MsgCreateValidator,
  @@ -48,6 +54,10 @@ function createDefaultRegistry(): Registry {
  ["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
  ["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
  ["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate],
  + ["/cosmos.distribution.v1beta1.MsgFundCommunityPool", MsgFundCommunityPool],
  + ["/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", MsgSetWithdrawAddress],
  + ["/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", MsgWithdrawDelegatorReward],
  + ["/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", MsgWithdrawValidatorCommission],
  ]);
  }
  