diff --git a/frame/election-provider-multi-phase/src/lib.rs b/frame/election-provider-multi-phase/src/lib.rs index e127e34d55723..7aab93fb652f7 100644 --- a/frame/election-provider-multi-phase/src/lib.rs +++ b/frame/election-provider-multi-phase/src/lib.rs @@ -1294,14 +1294,14 @@ impl Pallet { } /// Kill everything created by [`Pallet::create_snapshot`]. - pub(crate) fn kill_snapshot() { + pub fn kill_snapshot() { >::kill(); >::kill(); >::kill(); } /// Checks the feasibility of a solution. - fn feasibility_check( + pub fn feasibility_check( solution: RawSolution>, compute: ElectionCompute, ) -> Result, FeasibilityError> { diff --git a/frame/system/src/lib.rs b/frame/system/src/lib.rs index f96c43ee1c98e..ad57bf6a87994 100644 --- a/frame/system/src/lib.rs +++ b/frame/system/src/lib.rs @@ -581,7 +581,7 @@ pub mod pallet { /// Events deposited for the current block. #[pallet::storage] #[pallet::getter(fn events)] - pub(super) type Events = + pub type Events = StorageValue<_, Vec>, ValueQuery>; /// The number of events in the `Events` list.