change StartBlockHeightAndRewards from parent to current (#31781)
This commit is contained in:
parent
ae12079139
commit
e396a10312
|
@ -878,8 +878,8 @@ impl AbiExample for OptionalDropCallback {
|
|||
|
||||
#[derive(AbiExample, Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
pub(crate) struct StartBlockHeightAndRewards {
|
||||
/// the block height of the parent of the slot at which rewards distribution began
|
||||
pub(crate) parent_start_block_height: u64,
|
||||
/// the block height of the slot at which rewards distribution began
|
||||
pub(crate) start_block_height: u64,
|
||||
/// calculated epoch rewards pending distribution
|
||||
pub(crate) calculated_epoch_stake_rewards: Arc<StakeRewards>,
|
||||
}
|
||||
|
|
|
@ -719,7 +719,7 @@ mod test_bank_serialize {
|
|||
|
||||
// This some what long test harness is required to freeze the ABI of
|
||||
// Bank's serialization due to versioned nature
|
||||
#[frozen_abi(digest = "8aBQnNxnfKDxGEmMwaq9uLeMh3fw5sKsMGZBsCp15Dmv")]
|
||||
#[frozen_abi(digest = "9BucA5MtPMNNUjADyV27vNgzvDy1RqCLH2gRq5NEuDEF")]
|
||||
#[derive(Serialize, AbiExample)]
|
||||
pub struct BankAbiTestWrapperNewer {
|
||||
#[serde(serialize_with = "wrapper_newer")]
|
||||
|
|
Loading…
Reference in New Issue