Skip to content

Commit 2767114

Browse files
committed
wip
1 parent 9e65f5c commit 2767114

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/src/architecture/08_concepts/catalyst_voting/cat_v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Catalyst V2
1+
# V2
22

33
---
44

docs/src/architecture/08_concepts/catalyst_voting/cddl/gen_vote_tx.cddl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
gen-vote-tx = [
2-
tx-body,
1+
gen-vote-tx<choice-t, proof-t, prop-id-t> = [
2+
tx-body<choice-t, proof-t, prop-id-t>,
33
signature
44
]
55

6-
tx-body = [
6+
tx-body<choice-t, proof-t, prop-id-t> = [
77
vote-type
88
event,
9-
votes,
9+
votes<choice-t, proof-t, prop-id-t>,
1010
voters-data,
1111
]
1212

1313
vote-type = UUID ; e.g. Public or Private vote
1414
event = { * event-key => any }
1515
event-key = int / text
1616

17-
votes = [+ vote]
17+
votes<choice-t, proof-t, prop-id-t> = [+ vote<choice-t, proof-t, prop-id-t>]
1818
vote<choice-t, proof-t, prop-id-t> = [
1919
choices<choice-t>,
20-
proof<proof-t> / null,
21-
prop-id<prop-id-t> / null,
20+
proof<proof-t>,
21+
prop-id<prop-id-t>,
2222
]
2323
choices<choice-t> = [+ choice<choice-t>]
2424
choice<choice-t> = #6.24(bytes .cbor choice-t) ; encoded-cbor

0 commit comments

Comments
 (0)