change StartBlockHeightAndRewards from parent to current (#31781)

This commit is contained in:
Jeff Washington (jwash) 2023-05-23 22:10:51 -05:00 committed by GitHub
parent ae12079139
commit e396a10312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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>,
}

View File

@ -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")]