Skip to content

feat: add emission pallet skeleton #14

feat: add emission pallet skeleton

feat: add emission pallet skeleton #14

Triggered via pull request December 7, 2024 23:53
Status Success
Total duration 6m 59s
Billable time 7m
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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