feat: add emission pallet skeleton #14
Annotations
7 errors and 4 warnings
this let-binding has unit value:
pallets/emission0/src/lib.rs#L55
error: this let-binding has unit value
--> pallets/emission0/src/lib.rs:55:26
|
55 | #[pallet::weight(0)]
| ^ help: omit the `let` binding: `0;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
|
this let-binding has unit value:
pallets/emission0/src/lib.rs#L46
error: this let-binding has unit value
--> pallets/emission0/src/lib.rs:46:26
|
46 | #[pallet::weight(0)]
| ^ help: omit the `let` binding: `0;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
|
this let-binding has unit value:
pallets/emission0/src/lib.rs#L36
error: this let-binding has unit value
--> pallets/emission0/src/lib.rs:36:26
|
36 | #[pallet::weight(0)]
| ^ help: omit the `let` binding: `0;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: `-D clippy::let-unit-value` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::let_unit_value)]`
|
use of deprecated constant `pallet::warnings::ConstantWeight_2::_w`:
It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode.
For more info see:
<https://github.com/paritytech/substrate/pull/13798>:
pallets/emission0/src/lib.rs#L55
error: use of deprecated constant `pallet::warnings::ConstantWeight_2::_w`:
It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode.
For more info see:
<https://github.com/paritytech/substrate/pull/13798>
--> pallets/emission0/src/lib.rs:55:26
|
55 | #[pallet::weight(0)]
| ^
|
use of deprecated constant `pallet::warnings::ConstantWeight_1::_w`:
It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode.
For more info see:
<https://github.com/paritytech/substrate/pull/13798>:
pallets/emission0/src/lib.rs#L46
error: use of deprecated constant `pallet::warnings::ConstantWeight_1::_w`:
It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode.
For more info see:
<https://github.com/paritytech/substrate/pull/13798>
--> pallets/emission0/src/lib.rs:46:26
|
46 | #[pallet::weight(0)]
| ^
|
use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode.
For more info see:
<https://github.com/paritytech/substrate/pull/13798>:
pallets/emission0/src/lib.rs#L36
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode.
For more info see:
<https://github.com/paritytech/substrate/pull/13798>
--> pallets/emission0/src/lib.rs:36:26
|
36 | #[pallet::weight(0)]
| ^
|
= note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
check
Clippy had exited with the 101 exit code
|
check
use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
|
check
use of deprecated constant `pallet::warnings::ConstantWeight_1::_w`:
|
check
use of deprecated constant `pallet::warnings::ConstantWeight_2::_w`:
|
check
`pallet-emission0` (lib) generated 3 warnings
|