These tests verify export/import scripts for various VC types work correctly with test data.
- Docker must be running
- No
.charonfolder required (test uses fixtures)
# Lodestar VC test
# (for other VC types the usage is identical)
./scripts/edit/vc/test/test_lodestar_asdb.shThe test uses isolated data directories within scripts/edit/vc/test/data/ to avoid any interference with production data in data/.
- Starts vc-lodestar container (no charon dependency)
- Imports sample slashing protection data from fixtures
- Exports slashing protection via
export_asdb.sh - Transforms pubkeys via
update-anti-slashing-db.sh - Re-imports updated data via
import_asdb.sh
After running, inspect results in scripts/edit/vc/test/output/:
exported-asdb.json- Original exportupdated-asdb.json- After pubkey transformation