Skip to content

Ansible role review and relaunch as 2.0 #82

@BulatSaif

Description

@BulatSaif

Goal

  • Remove all deprecated/legacy parameters
  • Optimize the variables, rename if needed.
  • Improve documentation
  • Focus more on parachain deployments.

Legacy parameters

  1. Old rpc port flags (e.g node_legacy_rpc_flags, node_rpc_port, node_rpc_ws_port...),
  2. Logs option, should be similar to helm-chart.
node_log_trace_enable: false
node_log_trace_config: 
  babe=trace,imonline=trace,slots=trace,sync=trace,consensus=trace,client=trace,forks=trace,txpool=debug,afg=trace,sub-authority-discovery=debug,sc_offchain=trace,runtime=trace,staking=trace,runtime::election-provider=trace

node_parachain_log_trace_enable: false
node_parachain_log_trace_config: 
  babe=trace,imonline=trace,slots=trace,sync=trace,consensus=trace,client=trace,forks=trace,txpool=debug,afg=trace,sub-authority-discovery=debug,sc_offchain=trace,runtime=trace,staking=trace,runtime::election-provider=trace

helm chart:

    logLevels:
      - "parachain=debug"
      - "xcm=trace"
  1. Remove params for old versions.
# version Collator v0.5.3 and upper has fix, for previous version set to false
node_parachain_has_name_fix: true

Desired changes (optional)

  • node and node_parachain naiming may be confusing for new parachain developers as they need to set up both parameters. However, a parachain can be launched without relaychain options.

Blockers

This should be released as v2.0.

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