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

@@ -1,7 +1,7 @@
[
{ 0: h'30{{ withdraw.thing_spend.hash }}{{ withdraw.thing_spend.hash }}'
{ 0: h'30{{ withdraw.thing.spend.hash }}{{ withdraw.thing.spend.hash }}'
, 1: 1000000
, 2: [1, 24(h'd87980')]
, 3: 24(h'8203{{ withdraw.thing_spend.cbor }}')
, 3: 24(h'8203{{ withdraw.thing.spend.cbor }}')
}
]

View File

@@ -23,7 +23,7 @@
, 5:
{ h'E000000000000000000000000000000000000000000000000000000000': 14
, h'F0{{ withdraw.thing_withdraw.hash }}': 0
, h'F0{{ withdraw.thing.withdraw.hash }}': 0
}
, 14: