Refactor XVM weight. #1225
Annotations
9 errors and 10 warnings
no function or associated item named `make_free_balance_be` found for associated type `<T as Config>::Currency` in the current scope:
pallets/dapps-staking/src/benchmarking.rs#L207
error[E0599]: no function or associated item named `make_free_balance_be` found for associated type `<T as Config>::Currency` in the current scope
--> pallets/dapps-staking/src/benchmarking.rs:207:30
|
207 | let _ = T::Currency::make_free_balance_be(&staker, Balance::max_value());
| ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `<T as Config>::Currency`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
21 | use frame_support::traits::Currency;
|
|
no function or associated item named `make_free_balance_be` found for associated type `<T as Config>::Currency` in the current scope:
pallets/dapps-staking/src/benchmarking.rs#L191
error[E0599]: no function or associated item named `make_free_balance_be` found for associated type `<T as Config>::Currency` in the current scope
--> pallets/dapps-staking/src/benchmarking.rs:191:30
|
191 | let _ = T::Currency::make_free_balance_be(&staker, Balance::max_value());
| ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `<T as Config>::Currency`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
21 | use frame_support::traits::Currency;
|
|
no function or associated item named `make_free_balance_be` found for associated type `<T as Config>::Currency` in the current scope:
pallets/dapps-staking/src/benchmarking.rs#L177
error[E0599]: no function or associated item named `make_free_balance_be` found for associated type `<T as Config>::Currency` in the current scope
--> pallets/dapps-staking/src/benchmarking.rs:177:30
|
177 | let _ = T::Currency::make_free_balance_be(&staker, Balance::max_value());
| ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `<T as Config>::Currency`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
21 | use frame_support::traits::Currency;
|
|
no function or associated item named `make_free_balance_be` found for associated type `<T as Config>::Currency` in the current scope:
pallets/dapps-staking/src/benchmarking.rs#L140
error[E0599]: no function or associated item named `make_free_balance_be` found for associated type `<T as Config>::Currency` in the current scope
--> pallets/dapps-staking/src/benchmarking.rs:140:22
|
140 | T::Currency::make_free_balance_be(&developer_id, Balance::max_value());
| ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `<T as Config>::Currency`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
21 | use frame_support::traits::Currency;
|
|
no function or associated item named `make_free_balance_be` found for associated type `<T as Config>::Currency` in the current scope:
pallets/dapps-staking/src/benchmarking.rs#L122
error[E0599]: no function or associated item named `make_free_balance_be` found for associated type `<T as Config>::Currency` in the current scope
--> pallets/dapps-staking/src/benchmarking.rs:122:22
|
122 | T::Currency::make_free_balance_be(&staker_acc, Balance::max_value());
| ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `<T as Config>::Currency`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
21 | use frame_support::traits::Currency;
|
|
no function or associated item named `make_free_balance_be` found for associated type `<T as Config>::Currency` in the current scope:
pallets/dapps-staking/src/benchmarking.rs#L97
error[E0599]: no function or associated item named `make_free_balance_be` found for associated type `<T as Config>::Currency` in the current scope
--> pallets/dapps-staking/src/benchmarking.rs:97:18
|
97 | T::Currency::make_free_balance_be(&developer, Balance::max_value());
| ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `<T as Config>::Currency`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
21 | use frame_support::traits::Currency;
|
|
no function or associated item named `issue` found for associated type `<T as Config>::Currency` in the current scope:
pallets/dapps-staking/src/benchmarking.rs#L69
error[E0599]: no function or associated item named `issue` found for associated type `<T as Config>::Currency` in the current scope
--> pallets/dapps-staking/src/benchmarking.rs:69:22
|
69 | T::Currency::issue(DAPP_BLOCK_REWARD.into()),
| ^^^^^ function or associated item not found in `<T as Config>::Currency`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
21 | use frame_support::traits::Currency;
|
|
no function or associated item named `issue` found for associated type `<T as Config>::Currency` in the current scope:
pallets/dapps-staking/src/benchmarking.rs#L68
error[E0599]: no function or associated item named `issue` found for associated type `<T as Config>::Currency` in the current scope
--> pallets/dapps-staking/src/benchmarking.rs:68:22
|
68 | T::Currency::issue(STAKER_BLOCK_REWARD.into()),
| ^^^^^ function or associated item not found in `<T as Config>::Currency`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
21 | use frame_support::traits::Currency;
|
|
clippy
Clippy had exited with the 101 exit code
|
check-license
Config does not cover the file 'bin/collator/Cargo.toml'
|
check-license
Config does not cover the file 'bin/collator/res/astar.json'
|
check-license
Config does not cover the file 'bin/collator/res/astar.raw.json'
|
check-license
Config does not cover the file 'bin/collator/res/rocstar.json'
|
check-license
Config does not cover the file 'bin/collator/res/rocstar.raw.json'
|
check-license
Config does not cover the file 'bin/collator/res/shibuya.json'
|
check-license
Config does not cover the file 'bin/collator/res/shibuya.raw.json'
|
check-license
Config does not cover the file 'bin/collator/res/shiden.json'
|
check-license
Config does not cover the file 'bin/collator/res/shiden.raw.json'
|
check-license
Config does not cover the file 'bin/collator/res/shinjuku.json'
|