File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -634,7 +634,7 @@ pub async fn query_protocol_parameters(
634634 ) ;
635635 display_line ! (
636636 context. io( ) ,
637- "{:4}Max. proposal code size: {} kB " ,
637+ "{:4}Max. proposal code size: {} bytes " ,
638638 "" ,
639639 max_proposal_code_size
640640 ) ;
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ pub struct PosParams {
431431pub struct GovernanceParams {
432432 /// Min funds to stake to submit a proposal
433433 pub min_proposal_fund : u64 ,
434- /// Maximum size of proposal in kibibytes (KiB)
434+ /// Maximum size of proposal in bytes
435435 pub max_proposal_code_size : u64 ,
436436 /// Minimum number of epochs between the proposal end epoch and start epoch
437437 pub min_proposal_voting_period : u64 ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ use super::storage::keys as goverance_storage;
2525pub struct GovernanceParameters {
2626 /// Minimum amount of locked funds
2727 pub min_proposal_fund : token:: Amount ,
28- /// Maximum kibibyte length for proposal code
28+ /// Maximum length for proposal code in bytes
2929 pub max_proposal_code_size : u64 ,
3030 /// Minimum number of epochs between the proposal end epoch and start epoch
3131 pub min_proposal_voting_period : u64 ,
You can’t perform that action at this time.
0 commit comments