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
2021-05-31 17:57:20 +12:00
committed by GitHub
parent 996107ee28
commit 714a0872f5
3 changed files with 168 additions and 135 deletions
+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>;