packaged-config: the devnet override object with all four switches (finality v3 at DAA 135,200, published 17:59Z) in the packaged line; the self-test's no-override check passes an empty value itself instead of reading the shipped default
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
824059b827
commit
9997ef1dba
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ DL_HOST="https://dl.igneum.network"
|
|||
# carry the devnet's activation height here, the same N as every other devnet node, before it is cut (Mac and CI alike:
|
||||
# make-payload.sh sources this file). Rule and order: docs/plans/difficulty-v2-rollout-devnet.md.
|
||||
# Example: NODE_OVERRIDE_PARAMS='{"difficulty_v2_activation_daa": 123456}'
|
||||
NODE_OVERRIDE_PARAMS=''
|
||||
NODE_OVERRIDE_PARAMS='{"difficulty_v2_activation_daa":33000,"proving_v0_activation_daa":84100,"fees_v1_activation_daa":210000,"finality_v3_activation_daa":135200}'
|
||||
|
||||
# igneum_secret_file <env var name> <base name> -> the file to read: the variable when set, else <base>.next when it
|
||||
# exists, else <base>; IGNEUM_CONFIG_DIR (tests) replaces ~/.config/igneum
|
||||
|
|
@ -109,7 +109,7 @@ if [ "${BASH_SOURCE[0]}" = "$0" ]; then
|
|||
check "fingerprint is 8 hex" "$(igneum_fingerprint abc | grep -cE '^[0-9a-f]{8}$')" "1"
|
||||
check "fingerprint of abc" "$(igneum_fingerprint abc)" "ba7816bf"
|
||||
# 5. the written JSON: defaults pick the .next pair; the values land; nothing printed carries them
|
||||
out="$(write_packaged_config "$T/a.json")"
|
||||
out="$(NODE_OVERRIDE_PARAMS='' write_packaged_config "$T/a.json")"
|
||||
check "output names the .next key file" "$(printf '%s' "$out" | grep -c 'log-intake-key.next')" "1"
|
||||
check "output never carries the key" "$(printf '%s' "$out" | grep -c 'nextkeyvalue')" "0"
|
||||
check "output never carries the token" "$(printf '%s' "$out" | grep -c 'tok2new')" "0"
|
||||
|
|
|
|||
Loading…
Reference in a new issue