diff --git a/sdk/src/types/block/mana/rewards.rs b/sdk/src/types/block/mana/rewards.rs index ae87db2ec6..b0f35319cc 100644 --- a/sdk/src/types/block/mana/rewards.rs +++ b/sdk/src/types/block/mana/rewards.rs @@ -16,7 +16,7 @@ use crate::types::block::{slot::EpochIndex, Error}; #[getset(get_copy = "pub")] pub struct RewardsParameters { /// The number of validation blocks that should be issued by a selected validator per slot during its epoch duties. - validator_blocks_per_slot: u8, + validation_blocks_per_slot: u8, /// Used for shift operation during calculation of profit margin. profit_margin_exponent: u8, /// The length of the bootstrapping phase in epochs. @@ -37,7 +37,7 @@ impl Default for RewardsParameters { fn default() -> Self { // TODO: use actual values Self { - validator_blocks_per_slot: Default::default(), + validation_blocks_per_slot: Default::default(), profit_margin_exponent: Default::default(), bootstrapping_duration: Default::default(), mana_share_coefficient: Default::default(), diff --git a/sdk/tests/types/protocol.rs b/sdk/tests/types/protocol.rs index 5ec2528475..4e90eb5d06 100644 --- a/sdk/tests/types/protocol.rs +++ b/sdk/tests/types/protocol.rs @@ -72,7 +72,7 @@ // "activationOffset":7 // }, // "rewardsParameters":{ -// "validatorBlocksPerSlot":10, +// "validationBlocksPerSlot":10, // "profitMarginExponent":8, // "bootstrappingDuration":"1154", // "manaShareCoefficient":"2",