Unclear what type to assign to AccountStore in balances Trait of a runtime module #25
Labels
-size-xs
[bug]
Something isn't working
help wanted
Extra attention is needed
+P1
Highest priority, address as soon as possible
[tests]
In our blockchain's runtime/src/lib.rs, I have the following (which is consistent with what's shown in https://github.com/paritytech/substrate/blob/master/bin/node-template/runtime/src/lib.rs#L219)
then in a specific runtime module where I want to use balances, I have
But when I run the tests for that runtime module with
cargo test -p roaming-accounting-policies
, I get error:Unfortunately the mock of the node-template's "template" runtime module https://github.com/paritytech/substrate/blob/master/bin/node-template/pallets/template/src/mock.rs doesn't include
impl balances::Trait for Test {
to show an example of what type should be included.The text was updated successfully, but these errors were encountered: