Skip to content

Commit

Permalink
fix activation with authorized_key
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Feb 1, 2024
1 parent 71b3005 commit f203a26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mkchain/tqchain/mkchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def main():

base_constants = {
"images": {
"octez": "tezos/tezos:master_36959547_20231205233933",
"octez": args.octez_docker_image,
},
"node_config_network": {"chain_name": args.chain_name},
# Custom chains should not pull snapshots or tarballs
Expand Down Expand Up @@ -278,6 +278,7 @@ def main():
}

base_constants["node_config_network"]["activation_account_name"] = f"{BAKER_NAME}-a"
base_constants["node_config_network"]["activation_account_authorized_key"] = "authorized-key-0"

with open(
f"{os.path.dirname(os.path.realpath(__file__))}/parameters.yaml", "r"
Expand Down
1 change: 1 addition & 0 deletions utils/config-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ def create_node_config_json(
node_config["network"] = dict(NETWORK_CONFIG)
# Delete props that are not part of the node config.json spec
node_config["network"].pop("activation_account_name")
node_config["network"].pop("activation_account_authorized_key", None)

node_config["network"]["sandboxed_chain_name"] = "SANDBOXED_TEZOS"
node_config["network"]["default_bootstrap_peers"] = []
Expand Down

0 comments on commit f203a26

Please sign in to comment.