Skip to content

Commit

Permalink
serialize incremental_snapshot_hash (backport solana-labs#26839) (sol…
Browse files Browse the repository at this point in the history
…ana-labs#27212)

serialize incremental_snapshot_hash (solana-labs#26839)

* serialize incremental_snapshot_hash

* pr feedback

(cherry picked from commit 225cddc)

Co-authored-by: Jeff Washington (jwash) <[email protected]>
  • Loading branch information
mergify[bot] and jeffwashington committed Sep 14, 2022
1 parent aa0b46c commit 14193ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/src/serde_snapshot/newer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,10 @@ impl<'a> TypeContext<'a> for Context {
bank_fields.fee_rate_governor = bank_fields
.fee_rate_governor
.clone_with_lamports_per_signature(lamports_per_signature);

let incremental_snapshot_persistence = ignore_eof_error(deserialize_from(stream))?;
bank_fields.incremental_snapshot_persistence = incremental_snapshot_persistence;

Ok((bank_fields, accounts_db_fields))
}

Expand Down

0 comments on commit 14193ed

Please sign in to comment.