Skip to content

Commit db89b97

Browse files
committed
add cddl validation for immutable_ledger specs
1 parent a49638a commit db89b97

File tree

2 files changed

+14
-1
lines changed
  • docs/src/architecture/08_concepts

2 files changed

+14
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ check-cddl:
1111

1212
RUN cddlc -2 gen_vote_tx_cose_payload.cddl
1313
RUN cddlc -2 gen_vote_tx.cddl
14-
RUN cddlc -2 vote_tx_v2.cddl
14+
RUN cddlc -2 vote_tx_v2.cddl
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
VERSION 0.8
2+
3+
IMPORT github.com/input-output-hk/catalyst-ci/earthly/cddl:feat/cddl AS cddl-ci
4+
5+
check-cddl:
6+
FROM cddl-ci+cddl-base
7+
8+
WORKDIR /cddl
9+
10+
COPY ./block.cddl ./genesis_to_prev_hash.cddl .
11+
12+
RUN cddlc -2 block.cddl
13+
RUN cddlc -2 genesis_to_prev_hash.cddl

0 commit comments

Comments
 (0)