Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #127 from input-output-hk/ksaric/CAD-2323
Browse files Browse the repository at this point in the history
[CAD-2323] Bump up to Allegra Hard Fork.
  • Loading branch information
ksaric authored Dec 11, 2020
2 parents 5f85ce4 + 8a5b122 commit 6a8ca3a
Show file tree
Hide file tree
Showing 26 changed files with 772 additions and 15,585 deletions.
496 changes: 86 additions & 410 deletions cabal.project

Large diffs are not rendered by default.

114 changes: 114 additions & 0 deletions config/allegra-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# Explorer DB Node configuration
NetworkName: allegra

EnableLogMetrics: False
EnableLogging: True

Protocol: Cardano

# The config file for the node we are connecting to. If this is not the correct
# config, it will likely lead to db-sync throwing up weird error messages from
# the consensus layer.
# The path to the node config file is relative to this config file.

NodeConfigFile: ../../cardano-node/allegra/allegra-config.json

# ------------------------------------------------------------------------------
# Logging configuration follows.

# global filter; messages must have at least this severity to pass:
minSeverity: Info

# global file rotation settings:
rotation:
rpLogLimitBytes: 5000000
rpKeepFilesNum: 10
rpMaxAgeHours: 24

# these backends are initialized:
setupBackends:
- AggregationBK
- KatipBK
# - EditorBK
# - EKGViewBK

# if not indicated otherwise, then messages are passed to these backends:
defaultBackends:
- KatipBK

# if wanted, the GUI is listening on this port:
# hasGUI: 12787

# if wanted, the EKG interface is listening on this port:
# hasEKG: 12788

# here we set up outputs of logging in 'katip':
setupScribes:
- scKind: StdoutSK
scName: stdout
scFormat: ScText
scRotation: null

# if not indicated otherwise, then log output is directed to this:
defaultScribes:
- - StdoutSK
- stdout

# more options which can be passed as key-value pairs:
options:
cfokey:
value: "Release-1.0.0"
mapSubtrace:
benchmark:
contents:
- GhcRtsStats
- MonotonicClock
subtrace: ObservableTrace
'#ekgview':
contents:
- - tag: Contains
contents: 'cardano.epoch-validation.benchmark'
- - tag: Contains
contents: .monoclock.basic.
- - tag: Contains
contents: 'cardano.epoch-validation.benchmark'
- - tag: Contains
contents: diff.RTS.cpuNs.timed.
- - tag: StartsWith
contents: '#ekgview.#aggregation.cardano.epoch-validation.benchmark'
- - tag: Contains
contents: diff.RTS.gcNum.timed.
subtrace: FilterTrace
'cardano.epoch-validation.utxo-stats':
# Change the `subtrace` value to `Neutral` in order to log
# `UTxO`-related messages during epoch validation.
subtrace: NoTrace
'#messagecounters.aggregation':
subtrace: NoTrace
'#messagecounters.ekgview':
subtrace: NoTrace
'#messagecounters.switchboard':
subtrace: NoTrace
'#messagecounters.katip':
subtrace: NoTrace
'#messagecounters.monitoring':
subtrace: NoTrace
'cardano.#messagecounters.aggregation':
subtrace: NoTrace
'cardano.#messagecounters.ekgview':
subtrace: NoTrace
'cardano.#messagecounters.switchboard':
subtrace: NoTrace
'cardano.#messagecounters.katip':
subtrace: NoTrace
'cardano.#messagecounters.monitoring':
subtrace: NoTrace
mapBackends:
cardano.epoch-validation.benchmark:
- AggregationBK
'#aggregation.cardano.epoch-validation.benchmark':
- EKGViewBK
mapSeverity:
db-sync-node.Subscription: Error
db-sync-node.Mux: Error
db-sync-node: Info
14,572 changes: 0 additions & 14,572 deletions config/mainnet-byron-genesis.json

This file was deleted.

16 changes: 6 additions & 10 deletions config/mainnet-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
# Explorer DB Node configuration

NetworkName: mainnet

EnableLogMetrics: False
EnableLogging: True

Protocol: Cardano

RequiresNetworkMagic: RequiresNoMagic

ByronGenesisFile: mainnet-byron-genesis.json
ByronGenesisHash: 5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb

# Shelley genesis is not actully used but to specify Protocol Cardano, we need to sepcify one.
ShelleyGenesisFile: mainnet-shelley-genesis.json
ShelleyGenesisHash: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
# The config file for the node we are connecting to. If this is not the correct
# config, it will likely lead to db-sync throwing up weird error messages from
# the consensus layer.
# The path to the node config file is relative to this config file.
NodeConfigFile: ../../cardano-node/configuration/cardano/mainnet-config.json

# ------------------------------------------------------------------------------
# Logging configuration follows.
Expand Down
68 changes: 0 additions & 68 deletions config/mainnet-shelley-genesis.json

This file was deleted.

14 changes: 6 additions & 8 deletions config/shelley-qa-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ EnableLogging: True

Protocol: Cardano

RequiresNetworkMagic: RequiresMagic

ByronGenesisFile: shelley_qa-byron-genesis.json
ByronGenesisHash: 9325495d3ac7554d4bfaf2392cc3c74676d5add873d6ef8862d7562e660940bf

# Shelley genesis is not actully used but to specify Protocol Cardano, we need to sepcify one.
ShelleyGenesisFile: shelley_qa-shelley-genesis.json
ShelleyGenesisHash: 85d1783750753deaa6560158eb85fcb30078ea32a36e12dd8af39168bc053d09
# The config file for the node we are connecting to. If this is not the correct
# config, it will likely lead to db-sync throwing up weird error messages from
# the consensus layer.
# The path to the node config file is relative to this config file.
NodeConfigFile: ../../cardano-node/configuration/cardano/shelley_qa-config.json

# ------------------------------------------------------------------------------
# Logging configuration follows.

# global filter; messages must have at least this severity to pass:
Expand Down
63 changes: 0 additions & 63 deletions config/shelley_qa-byron-genesis.json

This file was deleted.

52 changes: 0 additions & 52 deletions config/shelley_qa-shelley-genesis.json

This file was deleted.

6 changes: 3 additions & 3 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"homepage": "https://input-output-hk.github.io/haskell.nix",
"owner": "input-output-hk",
"repo": "haskell.nix",
"rev": "251c8998047e775ac84b3b8f884be707f724b301",
"sha256": "17pfb2ps0gw462h6w3fajgfbrckaw3gq45xpbbw9ps9gmfcvqrsq",
"rev": "4c42100df06a0a1d976e5e883a3eedf053d8b91f",
"sha256": "0rkwldvw0qcwssjm72iqw4z3l1xyh0n0fs5jfm35jr62s84z6085",
"type": "tarball",
"url": "https://github.com/input-output-hk/haskell.nix/archive/251c8998047e775ac84b3b8f884be707f724b301.tar.gz",
"url": "https://github.com/input-output-hk/haskell.nix/archive/4c42100df06a0a1d976e5e883a3eedf053d8b91f.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"iohk-nix": {
Expand Down
Loading

0 comments on commit 6a8ca3a

Please sign in to comment.