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.

[pallet-contracts] Schedule is not public for developer to change the config #8869

@atenjin

Description

@atenjin

after #8773 Schedule is moved from a storage to outside, but Schedule just provide a Default::default() implementation, but not provide the construct function to set any attribute!

https://github.com/paritytech/substrate/blob/master/frame/contracts/src/schedule.rs#L50-L59

it's attributes are all (crate)

and the Limits and other structs are not public.

For example If I wanna change the max_code_len, I cannot set from the runtime.

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