Skip to content

Commit

Permalink
Update cddl for plutus data
Browse files Browse the repository at this point in the history
  • Loading branch information
redxaxder committed Jun 8, 2021
1 parent 452ec4e commit 9f09514
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions alonzo/test/cddl-files/alonzo.cddl
Expand Up @@ -228,10 +228,14 @@ plutus_data = ; New
constr<plutus_data>
/ { * plutus_data => plutus_data }
/ [ * plutus_data ]
/ integer
/ big_int
/ bytes .size (0..64)

constr<a> =
big_int = int / big_uint / big_nint ; New
big_uint = #6.2(bytes .size (0..64)) ; New
big_nint = #6.3(bytes .size (0..64)) ; New

constr<a> = ; New
#6.121([* a])
/ #6.122([* a])
/ #6.123([* a])
Expand All @@ -240,7 +244,7 @@ constr<a> =
/ #6.126([* a])
/ #6.127([* a])
; similarly for tag range: 6.1280 .. 6.1400 inclusive
/ #6.102([int, * a])
/ #6.102([uint, * a])

redeemer = [ tag: redeemer_tag, index: uint, data: plutus_data, ex_units: ex_units ] ; New
redeemer_tag = ; New
Expand Down

0 comments on commit 9f09514

Please sign in to comment.