Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frame/election-provider-multi-phase/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1294,14 +1294,14 @@ impl<T: Config> Pallet<T> {
}

/// Kill everything created by [`Pallet::create_snapshot`].
pub(crate) fn kill_snapshot() {
pub fn kill_snapshot() {
<Snapshot<T>>::kill();
<SnapshotMetadata<T>>::kill();
<DesiredTargets<T>>::kill();
}

/// Checks the feasibility of a solution.
fn feasibility_check(
pub fn feasibility_check(
solution: RawSolution<CompactOf<T>>,
compute: ElectionCompute,
) -> Result<ReadySolution<T::AccountId>, FeasibilityError> {
Expand Down
2 changes: 1 addition & 1 deletion frame/system/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ pub mod pallet {
/// Events deposited for the current block.
#[pallet::storage]
#[pallet::getter(fn events)]
pub(super) type Events<T: Config> =
pub type Events<T: Config> =
StorageValue<_, Vec<EventRecord<T::Event, T::Hash>>, ValueQuery>;

/// The number of events in the `Events<T>` list.
Expand Down