Use dot to separate purpose from validator name in blueprint

The rationale is two folds:

  1. It's more consistent with how we already separate the validator
  name from its module.

  2. Because `_` may be present in Aiken's validator's name, it is hard
     to read and I am afraid it could potentially conflict later on. So
     it's better to use a separator that cannot appear in validator
     names.
This commit is contained in:
KtorZ
2024-08-24 11:24:40 +02:00
parent ed55f03aa2
commit 8c2fdf9ad4
23 changed files with 55 additions and 87 deletions

View File

@@ -41,7 +41,7 @@
, h'F000000000000000000000000000000000000000000000000000000000'
, [ 2
, { h'E022222222222222222222222222222222222222222222222222222222': 1000000 }
, h'{{ proposing_all.guardrails_propose.hash }}'
, h'{{ proposing_all.guardrails.propose.hash }}'
]
, [ "https://aiken-lang.org"
, h'0000000000000000000000000000000000000000000000000000000000000000'
@@ -112,7 +112,7 @@
{ 5: [[5, 3, 121([]), [1000000, 100000000]]]
, 7: [h'{{ proposing_all.guardrails_propose.cbor }}']
, 7: [h'{{ proposing_all.guardrails.propose.cbor }}']
},
true,