Skip to content

Commit

Permalink
Explain the changes in ConsensusParametersV2 in a doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-ch committed Sep 12, 2024
1 parent a1ddd07 commit 65087ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fuel-tx/src/transaction/consensus_parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ impl From<ConsensusParametersV1> for ConsensusParameters {
}

/// A collection of parameters for convenience
/// The difference with [`ConsensusParametersV1`]:
/// - `block_transaction_size_limit` has been added.
#[derive(Clone, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
pub struct ConsensusParametersV2 {
pub tx_params: TxParameters,
Expand Down

0 comments on commit 65087ba

Please sign in to comment.