diff --git a/packaging/mac/packaged-config.sh b/packaging/mac/packaged-config.sh index 501d7914..77e259f9 100644 --- a/packaging/mac/packaged-config.sh +++ b/packaging/mac/packaged-config.sh @@ -37,7 +37,7 @@ DL_HOST="https://dl.igneum.network" # sixteen-field object of 0.3.20 is kept below for the record; a 0.3.2x package for the shared devnet would set it again. NODE_OVERRIDE_PARAMS='' NODE_DEVNET_SUFFIX='3' -NODE_PEERS='["188.40.146.49:26631","188.40.146.49:26671"]' +NODE_PEERS='["188.40.146.49:26631","188.40.146.49:26671","64.119.209.250:21703","154.64.230.67:27017"]' # the shared devnet's object as 0.3.20 shipped it (digest 4bbbe816 on the pin): '{"difficulty_v2_activation_daa":33000,"exec_restart_hash":"bb45cf0dd2d7cc97ebfa5a2701527c09a8ede5d32de74efead9caa293b15688a","exec_restart_number":27276,"exec_restart_state_root":"0xed27bb2d6128daf50493ed5539a73bb93f9d7c63ad7f70a7cbb46ba81c9e164e","exec_restart_trust_daa":200000,"fees_v1_activation_daa":210000,"finality_v3_activation_daa":135200,"program_class_v3_activation_daa":154800,"program_class_v4_activation_daa":831600,"program_class_v4_signal_window_daa":86400,"proving_v0_activation_daa":84100,"proving_v1_activation_daa":154800,"proving_v1_aggregator_share_bps":1000,"proving_v1_fresh_rule_daa":198000,"proving_v1_segment_blocks":8,"proving_v1_unproven_daa":600}' # igneum_secret_file -> the file to read: the variable when set, else .next when it # exists, else ; IGNEUM_CONFIG_DIR (tests) replaces ~/.config/igneum @@ -131,7 +131,7 @@ if [ "${BASH_SOURCE[0]}" = "$0" ]; then check "json has no override line" "$("$PY" -c 'import json,sys; print("node_override_params" in json.load(open(sys.argv[1])))' "$T/a.json")" "False" # 5b. Devnet 3 (0.3.22): the network fields land as JSON when set, and are absent when unset check "json names the devnet suffix" "$("$PY" -c 'import json,sys; print(json.load(open(sys.argv[1])).get("node_devnet_suffix"))' "$T/a.json")" "$NODE_DEVNET_SUFFIX" - check "json carries the static peers" "$("$PY" -c 'import json,sys; print(len(json.load(open(sys.argv[1])).get("node_peers", [])))' "$T/a.json")" "2" + check "json carries the static peers" "$("$PY" -c 'import json,sys; print(len(json.load(open(sys.argv[1])).get("node_peers", [])))' "$T/a.json")" "4" NODE_DEVNET_SUFFIX='' NODE_PEERS='' write_packaged_config "$T/d.json" >/dev/null check "no network fields when unset" "$("$PY" -c 'import json,sys; j=json.load(open(sys.argv[1])); print("node_devnet_suffix" in j or "node_peers" in j)' "$T/d.json")" "False" # 6. the variables aim a build at the old folder and the old key