Skip to content

Depreciation warnings #286

@Nutomic

Description

@Nutomic

Issue summary

There are a lot of deprecation warnings in the code which make the output extremely noisy. They should probably be fixed.

warning: use of deprecated struct `pallet::warnings::swap`:
Implicit call indices are deprecated in favour of explicit ones.
Please ensure that all calls have the `pallet::call_index` attribute or that the
`dev-mode` of the pallet is enabled. For more info see:
<https://github.com/paritytech/substrate/pull/12891> and
<https://github.com/paritytech/substrate/pull/11381>.
--> pallets/anonymity-mining/src/lib.rs:168:10
|
168 |         pub fn swap(
|                ^^^^
|
= note: `#[warn(deprecated)]` on by default

Other information and links

I think this was introduced by #282

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions