Skip to content

Commit a49638a

Browse files
committed
add cddl validation
1 parent 2767114 commit a49638a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/src/architecture/08_concepts/catalyst_voting/cddl/Earthfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ check-cddl:
77

88
WORKDIR /cddl
99

10-
COPY ./docs/src/architecture/08_concepts/catalyst_voting/cddl/gen_vote_tx.cddl .
11-
COPY ./docs/src/architecture/08_concepts/catalyst_voting/cddl/vote_tx_v2.cddl .
10+
COPY ./gen_vote_tx.cddl ./vote_tx_v2.cddl ./gen_vote_tx_cose_payload.cddl .
1211

13-
RUN --no-cache cddlc -2tcddl vote_tx_v2.cddl
12+
RUN cddlc -2 gen_vote_tx_cose_payload.cddl
13+
RUN cddlc -2 gen_vote_tx.cddl
14+
RUN cddlc -2 vote_tx_v2.cddl
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
cose-payload = blake2b-256
2-
blake2b-256 = #6.32782(bytes .size 32) ; Blake2b-256 hash bytes
2+
blake2b-256 = #6.32782(bytes .size 32) ; Blake2b-256 hash bytes

0 commit comments

Comments
 (0)