Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Deprecate FunctionOf #6104

@kianenigma

Description

@kianenigma

Sadly, yes. We recently learned that the whole thing was useless since the scope in which the right hand side of #[weight = { ... }]was being evaluated in already had access to all the parameters. So this is useless, adds only noise. It should be deprecated.

  • Mark FunctionOf as #[deprecated]
  • Remove all users in substrate and polkadot

A good candidate for something to be done #6040.

Metadata

Metadata

Assignees

Labels

I7-refactorCode needs refactoring.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions