[BUG] - `TracerConsistencyWarnings`: duplicate namespace `ChainDB.PerasVoteDbEvent.AddVote` / `GarbageCollected`
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- haskell
- Domain
- distributed-systems
Research direction
Build cardano-node at revision 8ff994d2fc5ae4d44a6c7240ad7ac854c2ab2cd4 on the koslambrou/prepare-11.2 branch and reproduce the startup warning on a Conway testnet with protocol version 11 and ExperimentalProtocolsEnabled enabled. Trace the registration paths for ChainDB.PerasVoteDbEvent.AddVote and GarbageCollected, including their era gating and TraceOptions handling. Done means each namespace is registered once and startup emits no TracerConsistencyWarnings when Peras is off.
Written by the indexing model from the issue text.
Description
Internal/External
Internal
Area
Other Any other topic (Delegation, Ranking, ...).
Summary
On the koslambrou/prepare-11.2 integration branch, cardano-node logs a Reflection.TracerConsistencyWarnings trace on every start. It reports two duplicate namespaces in the ChainDB.PerasVoteDbEvent tracer:
{"at":"2026-10-01T15:42:20.442630005Z","ns":"Reflection.TracerConsistencyWarnings","data":{"errors":"["System namespace error: Duplicate namespace ChainDB.PerasVoteDbEvent.AddVote","System namespace error: Duplicate namespace ChainDB.PerasVoteDbEvent.GarbageCollected"]","kind":"TracerConsistencyWarnings"},"sev":"Warning","thread":"5","host":"c27f27bfdd8b"}
So the namespaces ChainDB.PerasVoteDbEvent.AddVote and ChainDB.PerasVoteDbEvent.GarbageCollected are each registered more than once. As a result, they can't be configured unambiguously through TraceOptions.
This may be related to Peras integration. Peras is being integrated for 11.2, but all Peras features should be off in the Conway and Dijkstra eras. The Peras vote DB tracers being registered, and registered twice, on a Conway network could be another symptom of Peras wiring that isn't properly gated.
Steps to reproduce
- Build cardano-node from
koslambrou/prepare-11.2. - Start a local testnet, Conway era, protocol version 11,
ExperimentalProtocolsEnabled: true. - Look at the node's stdout right after startup.
The warning appears on every node and on every start or restart. The node configuration has no TraceOptions entries for any Peras namespace, so it doesn't depend on user configuration.
Expected behavior
- Every trace namespace is registered once, and startup emits no
TracerConsistencyWarnings. - With Peras off in Conway and Dijkstra, Peras-specific tracers shouldn't cause warnings on a Conway network.
System info (please complete the following information):
- OS Name: Ubuntu
- Branch
koslambrou/prepare-11.2, git rev8ff994d2fc5ae4d44a6c7240ad7ac854c2ab2cd4. The node still reports its version ascardano-node 11.1.1. - cardano-cli 11.2.3.1
- linux-x86_64, ghc-9.6.7
- Dominant language
- Haskell
- Stars
- 3.2k
- Forks
- 760
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 21
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from IntersectMBO/cardano-node
-
Stale
Difficulty 1/5 1-3 hours Newbie friendliness 75/100
IntersectMBO/cardano-node#6597 · 1 comment ·
Maintainers usually reply within 1 day
-
Stale
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
IntersectMBO/cardano-node#6578 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
IntersectMBO/cardano-node#6522 · 2 comments ·
Maintainers usually reply within 1 day
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
IntersectMBO/cardano-node#6729 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
IntersectMBO/cardano-node#6718 ·
Maintainers usually reply within 1 day
All issues in IntersectMBO/cardano-node
Similar issues
-
component: hls-refactor-plugin status: needs triage type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
haskell/haskell-language-server#5111 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
alunduil/network-arbitrary#193 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
alunduil/siren-json.hs#245 ·
Maintainers usually reply within 1 day
-
infrastructure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
alunduil/collection-json.hs#393 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day