@@ -23,7 +23,7 @@ language = 0/ 1/ 2
2323
2424potential_languages = 0 .. 255
2525
26- signkeyKES = bytes .size 64
26+ signkey_kes = bytes .size 64
2727
2828certificate =
2929 [ stake_registration
@@ -228,9 +228,9 @@ hash28 = bytes .size 28
228228
229229asset_name = bytes .size (0 .. 32)
230230
231- positive_coin = 1 .. maxWord64
231+ positive_coin = 1 .. max_word64
232232
233- maxWord64 = 18446744073709551615
233+ max_word64 = 18446744073709551615
234234
235235; NEW starting with babbage
236236; datum_option
@@ -311,7 +311,11 @@ script_any = (2, [* native_script])
311311
312312script_n_of_k = (3, n : int64, [* native_script])
313313
314- int64 = -9223372036854775808 .. 9223372036854775807
314+ int64 = min_int64 .. max_int64
315+
316+ min_int64 = -9223372036854775808
317+
318+ max_int64 = 9223372036854775807
315319
316320invalid_before = (4, slot_no)
317321
@@ -431,13 +435,13 @@ withdrawals = {+ reward_account => coin}
431435
432436auxiliary_data_hash = hash32
433437
434- mint = {+ policy_id => {+ asset_name => nonZeroInt64 }}
438+ mint = {+ policy_id => {+ asset_name => nonzero_int64 }}
435439
436- nonZeroInt64 = negInt64/ posInt64
440+ nonzero_int64 = negative_int64/ positive_int64
437441
438- negInt64 = -9223372036854775808 .. -1
442+ negative_int64 = min_int64 .. -1
439443
440- posInt64 = 1 .. 9223372036854775807
444+ positive_int64 = 1 .. max_int64
441445
442446; This is a hash of data which may affect evaluation of a script.
443447; This data consists of:
@@ -587,7 +591,7 @@ protocol_param_update =
587591 , ? 33 : nonnegative_interval ; minfee refScript coins per byte
588592 , ? 34 : uint .size 4 ; max refScript size per block
589593 , ? 35 : uint .size 4 ; max refScript size per tx
590- , ? 36 : posWord32 ; refScript cost stride
594+ , ? 36 : positive_word32 ; refScript cost stride
591595 , ? 37 : positive_interval ; refScript cost multiplier
592596 }
593597
@@ -596,7 +600,7 @@ epoch_interval = uint .size 4
596600
597601nonnegative_interval = #6.30([uint, positive_int])
598602
599- positive_int = 1 .. maxWord64
603+ positive_int = 1 .. max_word64
600604
601605; The format for cost_models is flexible enough to allow adding
602606; Plutus built-ins and language versions in the future.
@@ -637,9 +641,9 @@ drep_voting_thresholds =
637641 ]
638642
639643
640- posWord32 = 1 .. maxWord32
644+ positive_word32 = 1 .. max_word32
641645
642- maxWord32 = 4294967295
646+ max_word32 = 4294967295
643647
644648positive_interval = #6.30([positive_int, positive_int])
645649
0 commit comments