Change the way chain_id is retrieved
Merge after: !249 (merged)
This MR:
- Removed
--chain-id
option from the CLI - Place chain-id in a every profile context
- Make chain-id configurable via the
clive configure chain-id
command - Set the default chain id for mainnet and embedded testnet (Still could be changed via CLI)
- 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