Skip to content

Change the way chain_id is retrieved

Mateusz Żebrak requested to merge mzebrak/chain-id-profile into develop

Merge after: !249 (merged)

This MR:

  1. Removed --chain-id option from the CLI
  2. Place chain-id in a every profile context
  3. Make chain-id configurable via the clive configure chain-id command
  4. Set the default chain id for mainnet and embedded testnet (Still could be changed via CLI)
  5. When chain-id is not set (via default or unset via CLI, etc..) - when first required, it will be retrieved from the node get_config API call and set to profile context chain_id to that value.
Edited by Mateusz Żebrak

Merge request reports