syntax = "proto3";

package cosmos.gov.module.v1;

import "cosmos/app/v1alpha1/module.proto";

// Module is the config object of the gov module.
message Module {
  option (cosmos.app.v1alpha1.module) = {
    go_import: "github.com/cosmos/cosmos-sdk/x/gov"
  };

  // max_metadata_len defines the maximum proposal metadata length. 
  // Defaults to 255 if not explicitly set.
  uint64 max_metadata_len = 1;

  // authority defines the custom module authority. If not set, defaults to the governance module.
  string authority = 2;
}