WIP rename

# Conflicts:
#	codex/merkletree/codex/coders.nim
#	storage/merkletree/coders.nim
#	storage/merkletree/codex.nim
#	storage/merkletree/codex/coders.nim
#	storage/merkletree/codex/codex.nim

# Conflicts:
#	tests/storage/merkletree/generictreetests.nim
This commit is contained in:
E M 2026-01-29 10:54:38 +11:00
parent be5b8e0cba
commit 172ce8fe0b
No known key found for this signature in database
151 changed files with 15 additions and 10 deletions

2
.gitignore vendored
View File

@ -38,7 +38,7 @@ nimble.paths
.env
.update.timestamp
codex.nims
storage.nims
nimbus-build-system.paths
docker/hostdatadir
docker/prometheus-data

5
.nph.toml Normal file
View File

@ -0,0 +1,5 @@
# Add to default exclusions (recommended - doesn't lose the defaults)
extend-exclude = [
# "tests/fixtures",
"vendor",
]

View File

@ -62,15 +62,15 @@ proc test(name: string, outName = name, srcDir = "tests/", params = "", lang = "
exec "build/" & outName
task storage, "build logos storage binary":
buildBinary "codex",
buildBinary "storage",
outname = "storage",
params = "-d:chronicles_runtime_filtering -d:chronicles_log_level=TRACE"
task testStorage, "Build & run Logos Storage tests":
test "testCodex", outName = "testStorage"
test "testStorage", outName = "testStorage"
task testIntegration, "Run integration tests":
buildBinary "codex",
buildBinary "storage",
outName = "storage",
params = "-d:chronicles_runtime_filtering -d:chronicles_log_level=TRACE"
test "testIntegration"
@ -110,7 +110,7 @@ task coverage, "generates code coverage report":
echo " *****************************************************************"
var nimSrcs = " "
for f in walkDirRec("codex", {pcFile}):
for f in walkDirRec("storage", {pcFile}):
if f.endswith(".nim"):
nimSrcs.add " " & f.absolutePath.quoteShell()

View File

@ -93,11 +93,11 @@ else:
--warningAsError:
"ProveField:on"
--define:
"libp2p_multicodec_exts:../../../codex/multicodec_exts.nim"
"libp2p_multicodec_exts:../../../storage/multicodec_exts.nim"
--define:
"libp2p_multihash_exts:../../../codex/multihash_exts.nim"
"libp2p_multihash_exts:../../../storage/multihash_exts.nim"
--define:
"libp2p_contentids_exts:../../../codex/contentids_exts.nim"
"libp2p_contentids_exts:../../../storage/contentids_exts.nim"
when (NimMajor, NimMinor) >= (1, 4):
--warning:
@ -142,8 +142,8 @@ switch("warning", "LockLevel:off")
switch("define", "libp2p_pki_schemes=secp256k1")
#TODO this infects everything in this folder, ideally it would only
# apply to codex.nim, but since codex.nims is used for other purpose
# we can't use it. And codex.cfg doesn't work
# apply to storage.nim, but since storage.nims is used for other purpose
# we can't use it. And storage.cfg doesn't work
switch("define", "chronicles_sinks=textlines[dynamic],json[dynamic],textlines[dynamic]")
# Workaround for assembler incompatibility between constantine and secp256k1

Some files were not shown because too many files have changed in this diff Show More