Make StakeDelegations clone-on-write (#21542)

This commit is contained in:
Brooks Prumo
2021-12-03 08:54:38 -06:00
committed by GitHub
parent 1a4a039913
commit 0ef1b25e4b
5 changed files with 102 additions and 10 deletions

View File

@@ -312,7 +312,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 = "5vYNtKztrNKfb6TtRktXdLCbU73rJSWhLwguCHLvFujZ")]
#[frozen_abi(digest = "FBhQnLvFHaCkXN8ZL8MaR6yQUhLgyvWqdoFeBRwsmbBo")]
#[derive(Serialize, AbiExample)]
pub struct BankAbiTestWrapperFuture {
#[serde(serialize_with = "wrapper_future")]