Skip to content

Deprecate runtime parameters for old protocol versions #14755

@pugachAG

Description

@pugachAG

Description

We no longer maintain old protocol versions in nearcore codebase. It means we can also remove the corresponding runtime parameters.

Guide

The process involves removing yaml parameter files for old protocol versions as well as removing unused parameters from parameters.yaml and enum Parameter.

Let's consider the process of removing X.yaml.

  1. Check if parameters changed in X.yaml can be completely removed. That is the case if parameter is not updated in any of the later files. In that case just inline the latest value and remove the parameter. Note that need to keep parameters as part of VMConfigView for backward compatibility.
  1. Remove X.yaml file.

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