frame epm: expose feasibility_check in MinerConfig (#13555)

* frame epm: expose feasibity_check in miner

The goal with this commit is to expose the `feasibity_check` such
that anyone that implements the `MinerConfig trait` can utilize it

* cleanup

* fix tests
This commit is contained in:
Niklas Adolfsson authored and GitHub committed 2023-03-14 22:53:03 +00:00
1 parent 4ef1d0df02
commit 5e3f1b1af5
5 files changed
+133 -96

No files matched your search

@@ -462,7 +462,7 @@ impl<T: Config> Pallet<T> {
///
/// Infallible
pub fn finalize_signed_phase_accept_solution(
ready_solution: ReadySolution<T>,
ready_solution: ReadySolution<T::AccountId, T::MaxWinners>,
who: &T::AccountId,
deposit: BalanceOf<T>,
call_fee: BalanceOf<T>,