Skip to content

Commit

Permalink
imp: update spin up jobs for cardano-node 10.2 breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnalotoski committed Jan 22, 2025
1 parent ffc41f2 commit 80a1f2a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions flakeModules/jobs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,11 @@ in {
> "$GENESIS_DIR/utxo-keys/rich-utxo.addr"
chmod 0600 "$GENESIS_DIR/utxo-keys/rich-utxo.addr"
# Remove once the cardano-node new tracing is default in nixosModules.
jq '. += {UseTraceDispatcher: false}' \
< "$GENESIS_DIR/node-config.json" \
| sponge "$GENESIS_DIR/node-config.json"
# Shape the genesis output directory to match secrets layout expected
# by cardano-parts for environments and groups. This makes for easier
# import of new environment secrets.
Expand Down Expand Up @@ -449,7 +454,8 @@ in {
ByronGenesisHash: $hashByron,
ShelleyGenesisHash: $hashShelley,
AlonzoGenesisHash: $hashAlonzo,
ConwayGenesisHash: $hashConway
ConwayGenesisHash: $hashConway,
UseTraceDispatcher: false
}' \
< "$GENESIS_DIR/node-config.json" \
| sponge "$GENESIS_DIR/node-config.json"
Expand Down Expand Up @@ -694,7 +700,8 @@ in {
"TestBabbageHardForkAtEpoch": 0,
"TestConwayHardForkAtEpoch": 0,
"TestMaryHardForkAtEpoch": 0,
"TestShelleyHardForkAtEpoch": 0}' \
"TestShelleyHardForkAtEpoch": 0,
"UseTraceDispatcher": false}' \
'. += $jsonUpdates' \
< "$GENESIS_DIR/node-config.json" \
| sponge "$GENESIS_DIR/node-config.json"
Expand Down

0 comments on commit 80a1f2a

Please sign in to comment.