Skip to content

Commit

Permalink
wb | replace jq based profile definitions with cardano-profile
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaste committed Jan 24, 2025
1 parent c6eccb1 commit 7d73a65
Show file tree
Hide file tree
Showing 26 changed files with 83 additions and 4,925 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ instance Aeson.FromJSON Node where
<*> o Aeson..: "shutdown_on_block_synced"

newtype NodeVerbatim = NodeVerbatim
{ enableP2P :: Maybe Bool -- TODO: Make it lower case in the workbench.
{ enableP2P :: Maybe Bool -- TODO: Remove "Maybe" and make it lower case.
}
deriving (Eq, Show, Generic)

Expand Down
5 changes: 4 additions & 1 deletion nix/workbench/backend/nomad-job.nix
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,10 @@ let
)
# The P2P flag.
(if profileData.value.node ? verbatim && profileData.value.node.verbatim ? EnableP2P
then profileData.value.node.verbatim.EnableP2P
then
if profileData.value.node.verbatim.EnableP2P == null
then false
else profileData.value.node.verbatim.EnableP2P
else false
)
)
Expand Down
68 changes: 0 additions & 68 deletions nix/workbench/profile/pparams/api-pparams-to-genesis.jq

This file was deleted.

9 changes: 0 additions & 9 deletions nix/workbench/profile/pparams/apiPparamsImport.sh

This file was deleted.

17 changes: 0 additions & 17 deletions nix/workbench/profile/pparams/delta-blockbudget.jq

This file was deleted.

6 changes: 0 additions & 6 deletions nix/workbench/profile/pparams/delta-blocksizes.jq

This file was deleted.

Loading

0 comments on commit 7d73a65

Please sign in to comment.