#[dynamic_params]
Expand description

Mark a module that contains dynamic parameters.

See the pallet_parameters for a full example.

§Arguments

The macro accepts two positional arguments, of which the second is optional.

§Aggregated Enum Name

This sets the name that the aggregated Key-Value enum will be named after. Common names would be RuntimeParameters, akin to RuntimeCall, RuntimeOrigin etc. There is no default value for this argument.

§Parameter Storage Backend

The second argument provides access to the storage of the parameters. It can either be set on on this attribute, or on the inner ones. If set on both, the inner one takes precedence.