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

@@ -11,15 +11,15 @@
, { 0: h'000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
, 1:
[ 1000000
, { h'{{ mint.test_1_mint.hash }}': { h'74756e61': 100000000000000 }
, h'{{ mint.test_2_mint.hash }}': { h'61696b656e': 42 }
, { h'{{ mint.test_1.mint.hash }}': { h'74756e61': 100000000000000 }
, h'{{ mint.test_2.mint.hash }}': { h'61696b656e': 42 }
}
]
}
, { 0: h'100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
, 1:
[ 1000000
, { h'{{ mint.test_2_mint.hash }}': { h'63617264616e6f': 1 }
, { h'{{ mint.test_2.mint.hash }}': { h'63617264616e6f': 1 }
}
]
, 3: 24(h'82034463666F6F')
@@ -29,10 +29,10 @@
, 2: 42
, 9:
{ h'{{ mint.test_1_mint.hash }}':
{ h'{{ mint.test_1.mint.hash }}':
{ h'74756e61': 100000000000000
}
, h'{{ mint.test_2_mint.hash }}':
, h'{{ mint.test_2.mint.hash }}':
{ h'63617264616e6f': 1
, h'61696b656e': -14
}
@@ -65,8 +65,8 @@
]
, 7:
[ h'{{ mint.test_1_mint.cbor }}'
, h'{{ mint.test_2_mint.cbor }}'
[ h'{{ mint.test_1.mint.cbor }}'
, h'{{ mint.test_2.mint.cbor }}'
]
},