-
Notifications
You must be signed in to change notification settings - Fork 160
/
Copy pathglobals-alonzo-purple.nix
44 lines (39 loc) · 1.22 KB
/
globals-alonzo-purple.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
pkgs: with pkgs.iohkNix.cardanoLib; with pkgs.globals; {
# This should match the name of the topology file.
deploymentName = "alonzo-purple";
withFaucet = true;
withSmash = true;
explorerBackends = {
a = explorer12;
};
explorerBackendsInContainers = true;
environmentConfigLocal = rec {
relaysNew = "relays.${domain}";
nodeConfig =
pkgs.lib.recursiveUpdate
environments.alonzo-qa.nodeConfig
{
ShelleyGenesisFile = ./keys/genesis.json;
ShelleyGenesisHash = builtins.replaceStrings ["\n"] [""] (builtins.readFile ./keys/GENHASH);
ByronGenesisFile = ./keys/byron/genesis.json;
ByronGenesisHash = builtins.replaceStrings ["\n"] [""] (builtins.readFile ./keys/byron/GENHASH);
TestShelleyHardForkAtEpoch = 1;
TestAllegraHardForkAtEpoch = 2;
TestMaryHardForkAtEpoch = 3;
TestAlonzoHardForkAtEpoch = 4;
MaxKnownMajorProtocolVersion = 5;
LastKnownBlockVersion-Major = 5;
};
explorerConfig = mkExplorerConfig environmentName nodeConfig;
};
# Every 5 hours
relayUpdatePeriod = "0/5:00:00";
ec2 = {
credentials = {
accessKeyIds = {
IOHK = "default";
dns = "dev";
};
};
};
}