Skip to content

Commit

Permalink
feat: support MMRIVER 02 (#42)
Browse files Browse the repository at this point in the history
* feat: support MMRIVER 02

Notice: this changes the expected VDS from 2 to 3.

This change must not be released until the corresponding datatrails
production release has shipped.

* ci: cant source env breaks windows ci

---------

Co-authored-by: Robin Bryce <[email protected]>
  • Loading branch information
robinbryce and Robin Bryce authored Nov 28, 2024
1 parent f302cd7 commit 0b1d6bb
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 @@ -124,6 +124,7 @@ tasks:
cmds:
- |
set -e
# DONT source the env here, it breaks the windows ci
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 0b1d6bb

Please sign in to comment.