Skip to content

Commit

Permalink
Removal of genesis-file and genesis-hash arguments from Nix derivations
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Mar 17, 2020
1 parent cb10690 commit fec140a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions nix/scripts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ let
};
serviceConfig = {
inherit (config)
genesisFile
genesisHash
stateDir
signingKey
delegationCertificate
Expand Down
3 changes: 1 addition & 2 deletions nix/svclib.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ let
(optionalAttrs (cfg.protover-major or null != null) { LastKnownBlockVersion-Major = cfg.protover-major; }) //
(optionalAttrs (cfg.protover-minor or null != null) { LastKnownBlockVersion-Minor = cfg.protover-minor; }) //
(optionalAttrs (cfg.protover-alt or null != null) { LastKnownBlockVersion-Alt = cfg.protover-alt; }) //
(optionalAttrs (cfg.genesisFile != null) { GenesisFile = cfg.genesisFile; }) //
(optionalAttrs (cfg.genesisHash != null) { GenesisHash = cfg.genesisHash; });
(optionalAttrs (cfg.genesisFile != null) { GenesisFile = cfg.genesisFile; });

## mkFullyConnectedLocalClusterTopology
## :: String Address -> String Port -> Int PortNo -> Int Valency
Expand Down

0 comments on commit fec140a

Please sign in to comment.