Skip to content

Commit

Permalink
Fix cddl representing CostModels in Conway
Browse files Browse the repository at this point in the history
  • Loading branch information
teodanciu committed Jun 5, 2024
1 parent abaf27d commit 78b32d5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions eras/conway/impl/cddl-files/conway.cddl
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,10 @@ potential_languages = 0 .. 255
; versions in the future.
;
costmdls =
{ ? 0 : [ int64 ] ; Plutus v1
, ? 1 : [ int64 ] ; Plutus v2
, ? 2 : [ int64 ] ; Plutus v3
, ? 3 : [ int64 ] ; Any 8-bit unsigned number can be used as a key.
{ ? 0 : [ * int64 ] ; Plutus v1
, ? 1 : [ * int64 ] ; Plutus v2
, ? 2 : [ * int64 ] ; Plutus v3
, * 3 .. maxWord8 => [ * int64 ] ; Any 8-bit unsigned number can be used as a key
}

transaction_metadatum =
Expand Down Expand Up @@ -568,6 +568,7 @@ asset_name = bytes .size (0..32)
minInt64 = -9223372036854775808
maxInt64 = 9223372036854775807
maxWord64 = 18446744073709551615
maxWord8 = 255

negInt64 = minInt64 .. -1
posInt64 = 1 .. maxInt64
Expand Down

0 comments on commit 78b32d5

Please sign in to comment.