Skip to content

Commit 878c357

Browse files
authored
chore: add prime testnet (#44)
1 parent dc4a4ca commit 878c357

File tree

3 files changed

+229
-2
lines changed

3 files changed

+229
-2
lines changed
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
{
2+
"ByronGenesisFile": "/genesis/prime-testnet/byron.json",
3+
"ShelleyGenesisFile": "/genesis/prime-testnet/shelley.json",
4+
"AlonzoGenesisFile": "/genesis/prime-testnet/alonzo.json",
5+
"ConwayGenesisFile": "/genesis/prime-testnet/conway.json",
6+
"ByronGenesisHash": "acd3e7c4cc071ae176fa253e654f0dd4e759892b16e958d8bd3c393f5c6c66d2",
7+
"ShelleyGenesisHash": "0b67b0cb16e973478888efb1c7f69fca8e80489369afed94624a588e94a94f2b",
8+
"AlonzoGenesisHash": "0f715ff78fcab739c6cb2cc1073eb87d0ffe3514218bfa0337d416f6fbaf7886",
9+
"ConwayGenesisHash": "d43d3f38e01848bddf67e66fe29fbd236aca252de58c7f2c1904c67107c17842",
10+
"SocketPath": "db/node.socket",
11+
"ApplicationName":"cardano-sl",
12+
"ApplicationVersion":0,
13+
"PBftSignatureThreshold": 0.6,
14+
"MaxConcurrencyBulkSync": 1,
15+
"MaxConcurrencyDeadline": 2,
16+
"Protocol": "Cardano",
17+
"RequiresNetworkMagic": "RequiresMagic",
18+
"LastKnownBlockVersion-Major": 6,
19+
"LastKnownBlockVersion-Minor": 0,
20+
"LastKnownBlockVersion-Alt": 0,
21+
"TurnOnLogging": true,
22+
"TurnOnLogMetrics": true,
23+
"minSeverity": "Debug",
24+
"TracingVerbosity": "NormalVerbosity",
25+
"setupBackends": ["KatipBK"],
26+
"defaultBackends": ["KatipBK"],
27+
"hasEKG": 12788,
28+
"hasPrometheus": [
29+
"0.0.0.0",
30+
12798
31+
],
32+
"setupScribes": [
33+
{
34+
"scKind": "StdoutSK",
35+
"scName": "stdout",
36+
"scFormat": "ScText"
37+
}
38+
],
39+
"defaultScribes": [
40+
["StdoutSK", "stdout"]
41+
],
42+
"rotation": {
43+
"rpLogLimitBytes": 5000000,
44+
"rpKeepFilesNum": 3,
45+
"rpMaxAgeHours": 24
46+
},
47+
"TraceBlockFetchClient": false,
48+
"TraceBlockFetchDecisions": false,
49+
"TraceBlockFetchProtocol": false,
50+
"TraceBlockFetchProtocolSerialised": false,
51+
"TraceBlockFetchServer": false,
52+
"TraceBlockchainTime": false,
53+
"TraceChainDb": true,
54+
"TraceChainSyncClient": false,
55+
"TraceChainSyncBlockServer": false,
56+
"TraceChainSyncHeaderServer": false,
57+
"TraceChainSyncProtocol": false,
58+
"TraceDNSResolver": true,
59+
"TraceDNSSubscription": true,
60+
"TraceErrorPolicy": true,
61+
"TraceLocalErrorPolicy": true,
62+
"TraceForge": true,
63+
"TraceHandshake": false,
64+
"TraceIpSubscription": true,
65+
"TraceLocalRootPeers": true,
66+
"TracePublicRootPeers": true,
67+
"TracePeerSelection": true,
68+
"TraceDebugPeerSelection": false,
69+
"TracePeerSelectionActions": true,
70+
"TraceConnectionManager": true,
71+
"TraceServer": true,
72+
"TraceLocalConnectionManager": false,
73+
"TraceLocalServer": false,
74+
"TraceLocalChainSyncProtocol": false,
75+
"TraceLocalHandshake": false,
76+
"TraceLocalTxSubmissionProtocol": false,
77+
"TraceLocalTxSubmissionServer": false,
78+
"TraceMempool": true,
79+
"TraceMux": false,
80+
"TraceTxInbound": false,
81+
"TraceTxOutbound": false,
82+
"TraceTxSubmissionProtocol": false,
83+
"options": {
84+
"mapBackends": {
85+
"cardano.node.metrics": ["EKGViewBK"]
86+
},
87+
"mapScribes": {
88+
"cardano.node.metrics": ["FileSK::logs/mainnet.log"]
89+
},
90+
"mapSeverity": {
91+
"cardano.node.ChainDB": "Notice",
92+
"cardano.node.DnsSubscription": "Debug"
93+
}
94+
},
95+
"TestShelleyHardForkAtEpoch": 0,
96+
"TestAllegraHardForkAtEpoch": 0,
97+
"TestMaryHardForkAtEpoch": 0,
98+
"TestAlonzoHardForkAtEpoch": 0,
99+
"TestBabbageHardForkAtEpoch": 0,
100+
"ExperimentalProtocolsEnabled": true,
101+
"EnableP2P": true,
102+
"TargetNumberOfRootPeers": 20,
103+
"TargetNumberOfKnownPeers": 20,
104+
"TargetNumberOfEstablishedPeers": 10,
105+
"TargetNumberOfActivePeers": 10,
106+
"TraceInboundGovernorCounters": true,
107+
"TraceConnectionManagerTransitions": true,
108+
"TraceLedgerPeers": true,
109+
"TracePeerSelectionCounters": true,
110+
"TracePeerStateActions": true
111+
}
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
{
2+
"EnableLogMetrics":false,
3+
"EnableLogging":true,
4+
"NetworkName":"testnet",
5+
"NodeConfigFile":"config.json",
6+
"PrometheusPort":8080,
7+
"RequiresNetworkMagic":"RequiresMagic",
8+
"defaultBackends":[
9+
"KatipBK"
10+
],
11+
"defaultScribes":[
12+
[
13+
"StdoutSK",
14+
"stdout"
15+
]
16+
],
17+
"minSeverity":"Info",
18+
"options":{
19+
"cfokey":{
20+
"value":"Release-1.0.0"
21+
},
22+
"mapBackends":{
23+
24+
},
25+
"mapSeverity":{
26+
"db-sync-node":"Info",
27+
"db-sync-node.Mux":"Error",
28+
"db-sync-node.Subscription":"Error"
29+
},
30+
"mapSubtrace":{
31+
"#ekgview":{
32+
"contents":[
33+
[
34+
{
35+
"contents":"cardano.epoch-validation.benchmark",
36+
"tag":"Contains"
37+
},
38+
[
39+
{
40+
"contents":".monoclock.basic.",
41+
"tag":"Contains"
42+
}
43+
]
44+
],
45+
[
46+
{
47+
"contents":"cardano.epoch-validation.benchmark",
48+
"tag":"Contains"
49+
},
50+
[
51+
{
52+
"contents":"diff.RTS.cpuNs.timed.",
53+
"tag":"Contains"
54+
}
55+
]
56+
],
57+
[
58+
{
59+
"contents":"#ekgview.#aggregation.cardano.epoch-validation.benchmark",
60+
"tag":"StartsWith"
61+
},
62+
[
63+
{
64+
"contents":"diff.RTS.gcNum.timed.",
65+
"tag":"Contains"
66+
}
67+
]
68+
]
69+
],
70+
"subtrace":"FilterTrace"
71+
},
72+
"#messagecounters.aggregation":{
73+
"subtrace":"NoTrace"
74+
},
75+
"#messagecounters.ekgview":{
76+
"subtrace":"NoTrace"
77+
},
78+
"#messagecounters.katip":{
79+
"subtrace":"NoTrace"
80+
},
81+
"#messagecounters.monitoring":{
82+
"subtrace":"NoTrace"
83+
},
84+
"#messagecounters.switchboard":{
85+
"subtrace":"NoTrace"
86+
},
87+
"benchmark":{
88+
"contents":[
89+
"GhcRtsStats",
90+
"MonotonicClock"
91+
],
92+
"subtrace":"ObservableTrace"
93+
},
94+
"cardano.epoch-validation.utxo-stats":{
95+
"subtrace":"NoTrace"
96+
}
97+
}
98+
},
99+
"rotation":{
100+
"rpKeepFilesNum":10,
101+
"rpLogLimitBytes":5000000,
102+
"rpMaxAgeHours":24
103+
},
104+
"setupBackends":[
105+
"AggregationBK",
106+
"KatipBK"
107+
],
108+
"setupScribes":[
109+
{
110+
"scFormat":"ScText",
111+
"scKind":"StdoutSK",
112+
"scName":"stdout",
113+
"scRotation":null
114+
}
115+
]
116+
}

bootstrap/feature/operator.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ resource "kubernetes_deployment_v1" "operator" {
6262

6363
env {
6464
name = "DCU_PER_SECOND"
65-
value = "mainnet=${var.dcu_per_second["mainnet"]},preprod=${var.dcu_per_second["preprod"]},preview=${var.dcu_per_second["preview"]},vector-testnet=${var.dcu_per_second["vector-testnet"]}"
65+
value = "mainnet=${var.dcu_per_second["mainnet"]},preprod=${var.dcu_per_second["preprod"]},preview=${var.dcu_per_second["preview"]},vector-testnet=${var.dcu_per_second["vector-testnet"]},prime-testnet=${var.dcu_per_second["prime-testnet"]}"
6666
}
6767

6868
env {
@@ -72,7 +72,7 @@ resource "kubernetes_deployment_v1" "operator" {
7272

7373
env {
7474
name = "DB_NAMES"
75-
value = "mainnet=dbsync-mainnet,preprod=dbsync-preprod,preview=dbsync-preview,vector-testnet=dbsync-vector-testnet"
75+
value = "mainnet=dbsync-mainnet,preprod=dbsync-preprod,preview=dbsync-preview,vector-testnet=dbsync-vector-testnet,prime-testnet=dbsync-prime-testnet"
7676
}
7777

7878
env {

0 commit comments

Comments
 (0)