Skip to content

Commit

Permalink
feat: apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
emidev98 committed Nov 10, 2023
1 parent 7328d03 commit 665d61b
Show file tree
Hide file tree
Showing 6 changed files with 205 additions and 46 deletions.
189 changes: 155 additions & 34 deletions api/cosmos/gov/module/v1/module.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions proto/cosmos/gov/module/v1/module.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,18 @@ message Module {
go_import: "cosmossdk.io/x/gov"
};

// max_title_len defines the maximum proposal title length.
// Defaults to 100 if not explicitly set.
int64 max_title_len = 1;

Check failure on line 15 in proto/cosmos/gov/module/v1/module.proto

View workflow job for this annotation

GitHub Actions / break-check

Field "1" with name "max_title_len" on message "Module" changed option "json_name" from "maxMetadataLen" to "maxTitleLen".

Check failure on line 15 in proto/cosmos/gov/module/v1/module.proto

View workflow job for this annotation

GitHub Actions / break-check

Field "1" on message "Module" changed type from "uint64" to "int64".

Check failure on line 15 in proto/cosmos/gov/module/v1/module.proto

View workflow job for this annotation

GitHub Actions / break-check

Field "1" on message "Module" changed name from "max_metadata_len" to "max_title_len".

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

Check failure on line 19 in proto/cosmos/gov/module/v1/module.proto

View workflow job for this annotation

GitHub Actions / break-check

Field "2" with name "max_metadata_len" on message "Module" changed option "json_name" from "authority" to "maxMetadataLen".

Check failure on line 19 in proto/cosmos/gov/module/v1/module.proto

View workflow job for this annotation

GitHub Actions / break-check

Field "2" on message "Module" changed type from "string" to "int64".

Check failure on line 19 in proto/cosmos/gov/module/v1/module.proto

View workflow job for this annotation

GitHub Actions / break-check

Field "2" on message "Module" changed name from "authority" to "max_metadata_len".

// max_summary_len defines the maximum proposal summary length.
// Defaults to 10200 if not explicitly set.
int64 max_summary_len = 3;

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

0 comments on commit 665d61b

Please sign in to comment.