From 626c18cad6bdc63ef436cd32d5452426cce63b3c Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Tue, 23 Aug 2022 11:42:28 -0500 Subject: [PATCH] only READ BankIncrementalSnapshotPersistence in 1.11 --- runtime/src/serde_snapshot/newer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/serde_snapshot/newer.rs b/runtime/src/serde_snapshot/newer.rs index 512737106aebc9..168d5aa8b47b03 100644 --- a/runtime/src/serde_snapshot/newer.rs +++ b/runtime/src/serde_snapshot/newer.rs @@ -210,7 +210,7 @@ impl<'a> TypeContext<'a> for Context { // we can grab it on restart. // TODO: if we do a snapshot version bump, consider moving this out. lamports_per_signature, - None::, + // None::, this will be saved starting in 1.12 ) .serialize(serializer) } @@ -394,7 +394,7 @@ impl<'a> TypeContext<'a> for Context { bank, accounts_db_fields, lamports_per_signature, - incremental_snapshot_persistence, + // incremental_snapshot_persistence, this will be saved starting in 1.12 ), ) }