Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ result-*
# direnv
.direnv/
.envrc.local
tests/fixtures/134092758.670ca68c3de580f8469677754a725e86ca72a7be381d3108569f0704a5fca327.cbor
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ MANIFEST_SMALL ?= tests/fixtures/test-manifest.json
# Real Cardano Haskell node snapshot (Conway era, epoch 507)
SNAPSHOT ?= tests/fixtures/134092758.670ca68c3de580f8469677754a725e86ca72a7be381d3108569f0704a5fca327.cbor
MANIFEST ?= tests/fixtures/134092758.670ca68c3de580f8469677754a725e86ca72a7be381d3108569f0704a5fca327.json
SNAP_URL ?= "https://pub-b844360df4774bb092a2bb2043b888e5.r2.dev/134092758.670ca68c3de580f8469677754a725e86ca72a7be381d3108569f0704a5fca327.cbor.gz"

SECTIONS_ALL := --params --governance --pools --accounts --utxo

Expand Down Expand Up @@ -58,8 +59,15 @@ fmt:
clippy:
$(CARGO) clippy --workspace -- -D warnings

snapshot-download: $(SNAPSHOT)

$(SNAPSHOT):
echo "Downloading snapshot file..."
curl -L -f -o "$(SNAPSHOT).gz" "$(SNAP_URL)" || { echo "Download failed"; exit 1; }
gunzip "$(SNAPSHOT).gz"

# Streaming snapshot parser test
snap-test-streaming:
snap-test-streaming: $(SNAPSHOT)
@echo "Testing Streaming Snapshot Parser"
@echo "=================================="
@echo "Snapshot: $(SNAPSHOT)"
Expand Down
1 change: 0 additions & 1 deletion tests/fixtures/.gitattributes
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
134092758.670ca68c3de580f8469677754a725e86ca72a7be381d3108569f0704a5fca327.cbor filter=lfs diff=lfs merge=lfs -text

This file was deleted.