Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

Fix tests #22

Open
en opened this issue Aug 18, 2021 · 0 comments
Open

Fix tests #22

en opened this issue Aug 18, 2021 · 0 comments
Assignees

Comments

@en
Copy link
Member

en commented Aug 18, 2021

$  cargo test -p pallet-octopus-appchain

error[E0046]: not all trait items implemented, missing: `PalletId`, `Currency`
   --> bin/node-template/pallets/octopus-appchain/src/mock.rs:187:1
    |
187 | impl pallet_octopus_appchain::Config for Test {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `PalletId`, `Currency` in implementation
    | 
   ::: bin/node-template/pallets/octopus-appchain/src/lib.rs:244:9
    |
244 |         type PalletId: Get<PalletId>;
    |         ----------------------------- `PalletId` from trait
245 | 
246 |         type Currency: Currency<Self::AccountId>;
    |         ----------------------------------------- `Currency` from trait

error: aborting due to previous error

For more information about this error, try `rustc --explain E0046`.
error: could not compile `pallet-octopus-appchain`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants