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:
Shaun Wang authored and GitHub committed 2021-05-31 05:57:20 +00:00
1 parent 996107ee28
commit 714a0872f5
3 files changed
+168 -135

No files matched your search

+2 -2
View File
@@ -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>;