From 495020dcda6867d3bd011427c7879ef6f705522b Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Mon, 2 Jun 2025 19:24:20 -0600 Subject: [PATCH] fix log scopes --- codex/slots/builder/builder.nim | 2 +- codex/slots/proofs/backends/circomcompat.nim | 3 +++ codex/slots/proofs/backends/nimgroth16.nim | 3 +++ codex/slots/sampler/sampler.nim | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/codex/slots/builder/builder.nim b/codex/slots/builder/builder.nim index b2d387a9..3fe1c519 100644 --- a/codex/slots/builder/builder.nim +++ b/codex/slots/builder/builder.nim @@ -32,7 +32,7 @@ import ../converters export converters, asynciter logScope: - topics = "codex slotsbuilder" + topics = "codex slots builder" type SlotsBuilder*[SomeTree, SomeHash] = ref object of RootObj store: BlockStore diff --git a/codex/slots/proofs/backends/circomcompat.nim b/codex/slots/proofs/backends/circomcompat.nim index 7e66a264..33de3bc5 100644 --- a/codex/slots/proofs/backends/circomcompat.nim +++ b/codex/slots/proofs/backends/circomcompat.nim @@ -25,6 +25,9 @@ import ./converters export circomcompat, converters +logScope: + topics = "codex backend circomcompat" + type CircomCompatBackend* = object slotDepth: int # max depth of the slot tree diff --git a/codex/slots/proofs/backends/nimgroth16.nim b/codex/slots/proofs/backends/nimgroth16.nim index 5c38fc23..2a3a8759 100644 --- a/codex/slots/proofs/backends/nimgroth16.nim +++ b/codex/slots/proofs/backends/nimgroth16.nim @@ -31,6 +31,9 @@ import ./converters export converters +logScope: + topics = "codex backend nimgroth16" + const DefaultCurve* = "bn128" type diff --git a/codex/slots/sampler/sampler.nim b/codex/slots/sampler/sampler.nim index b46452eb..403695c7 100644 --- a/codex/slots/sampler/sampler.nim +++ b/codex/slots/sampler/sampler.nim @@ -27,7 +27,7 @@ import ../types import ./utils logScope: - topics = "codex datasampler" + topics = "codex slots sampler" type DataSampler*[SomeTree, SomeHash] = ref object of RootObj index: Natural