Skip to content

Commit

Permalink
feat: support MMRIVER 02
Browse files Browse the repository at this point in the history
Notice: this changes the expected VDS from 2 to 3.

This change must not be released until the corresponding datatrails
production release has shipped.
  • Loading branch information
Robin Bryce committed Nov 28, 2024
1 parent 0e6c7bf commit 0994696
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
build/
dist/
payload.json
metadata.json
scitt/artifacts/_manifest/*
datatrails_scitt_samples/__pycache__/*
datatrails_scitt_samples/scripts/__pycache__/*
Expand Down
1 change: 1 addition & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ tasks:
cmds:
- |
set -e
source {{ .VENV_DIR }}/bin/activate
echo "DATATRAILS_ xxx var value char counts"
echo "$DATATRAILS_URL" | wc -c
Expand Down
3 changes: 2 additions & 1 deletion datatrails_scitt_samples/cbor_header_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@

# MMRIVER headers
# https://robinbryce.github.io/draft-bryce-cose-merkle-mountain-range-proofs/draft-bryce-cose-merkle-mountain-range-proofs.html#name-receipt-of-inclusion
HEADER_LABEL_MMRIVER_VDS_TREE_ALG = 2
HEADER_LABEL_MMRIVER_VDS_TREE_ALG_DRAFT_00 = 2
HEADER_LABEL_MMRIVER_VDS_TREE_ALG = 3
HEADER_LABEL_MMRIVER_INCLUSION_PROOF_INDEX = 1
HEADER_LABEL_MMRIVER_INCLUSION_PROOF_PATH = 2

Expand Down

0 comments on commit 0994696

Please sign in to comment.