Skip to content

Commit

Permalink
delete SharedData!
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellorigotti committed Oct 17, 2024
1 parent eaf3418 commit 8fd34b7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions state-chain/runtime/src/chainflip/solana_elections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,13 @@ pub mod old {
>::hashed_key_for(shared_data_hash, election_identifier.unique_monotonic());
let reference: core::option::Option<ReferenceDetails> = frame_support::storage::unhashed::take::<ReferenceDetails>(&hashed_key_and_prefix);
log::info!("References {:?}", reference);
let shared_data =
frame_support::storage::migration::take_storage_item::<
_,
<<old::SolanaElectoralSystem as ElectoralSystem>::Vote as VoteStorage>::SharedData,
Identity,
>(b"SolanaElections", b"SharedData", shared_data_hash);
log::info!("SharedData {:?}", shared_data);
}
);
}
Expand Down

0 comments on commit 8fd34b7

Please sign in to comment.