mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-22 02:19:55 +00:00
Migrate pallet-scored-pool to pallet attribute macro (#8825)
* Migrate pallet-scored-pool to pallet attribute macro. * Remove dummy event. * Apply review suggestions.
This commit is contained in:
1 parent
996107ee28
commit
714a0872f5
3 files changed
+168
-135
No files matched your search
@@ -15,7 +15,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//! Tests for the module.
|
||||
//! Tests for the pallet.
|
||||
|
||||
use super::*;
|
||||
use mock::*;
|
||||
@@ -23,7 +23,7 @@ use mock::*;
|
||||
use frame_support::{assert_ok, assert_noop, traits::OnInitialize};
|
||||
use sp_runtime::traits::BadOrigin;
|
||||
|
||||
type ScoredPool = Module<Test>;
|
||||
type ScoredPool = Pallet<Test>;
|
||||
type System = frame_system::Pallet<Test>;
|
||||
type Balances = pallet_balances::Pallet<Test>;
|
||||
|
||||
|
||||
Reference in new issue
Block a user