File tree Expand file tree Collapse file tree 6 files changed +12
-16
lines changed
testlib/Test/Cardano/Ledger/Shelley Expand file tree Collapse file tree 6 files changed +12
-16
lines changed Original file line number Diff line number Diff line change @@ -208,12 +208,10 @@ dns_name = text .size (0 .. 64)
208208; dns_name: An SRV DNS record
209209multi_host_name = (2, dns_name)
210210
211- pool_metadata = [url, metadata_hash ]
211+ pool_metadata = [url, bytes ]
212212
213213url = text .size (0 .. 64)
214214
215- metadata_hash = hash32
216-
217215pool_retirement = (4, pool_keyhash, epoch)
218216
219217epoch = uint
@@ -272,6 +270,8 @@ maxWord64 = 18446744073709551615
272270
273271nonce = [0// 1, bytes .size 32]
274272
273+ metadata_hash = hash32
274+
275275transaction_witness_set =
276276 {? 0 : [* vkeywitness], ? 1 : [* native_script], ? 2 : [* bootstrap_witness]}
277277
Original file line number Diff line number Diff line change @@ -240,12 +240,10 @@ dns_name = text .size (0 .. 64)
240240; dns_name: An SRV DNS record
241241multi_host_name = (2, dns_name)
242242
243- pool_metadata = [url, metadata_hash ]
243+ pool_metadata = [url, bytes ]
244244
245245url = text .size (0 .. 64)
246246
247- metadata_hash = hash32
248-
249247pool_retirement = (4, pool_keyhash, epoch)
250248
251249epoch = uint
Original file line number Diff line number Diff line change @@ -329,12 +329,10 @@ dns_name = text .size (0 .. 64)
329329; dns_name: An SRV DNS record
330330multi_host_name = (2, dns_name)
331331
332- pool_metadata = [url, metadata_hash ]
332+ pool_metadata = [url, bytes ]
333333
334334url = text .size (0 .. 64)
335335
336- metadata_hash = hash32
337-
338336pool_retirement = (4, pool_keyhash, epoch)
339337
340338epoch = uint
Original file line number Diff line number Diff line change @@ -216,12 +216,10 @@ dns_name = text .size (0 .. 64)
216216; dns_name: An SRV DNS record
217217multi_host_name = (2, dns_name)
218218
219- pool_metadata = [url, metadata_hash ]
219+ pool_metadata = [url, bytes ]
220220
221221url = text .size (0 .. 64)
222222
223- metadata_hash = hash32
224-
225223pool_retirement = (4, pool_keyhash, epoch)
226224
227225epoch = uint
@@ -280,6 +278,8 @@ maxWord64 = 18446744073709551615
280278
281279nonce = [0// 1, bytes .size 32]
282280
281+ metadata_hash = hash32
282+
283283mint = multiasset<int64>
284284
285285int64 = -9223372036854775808 .. 9223372036854775807
Original file line number Diff line number Diff line change @@ -206,12 +206,10 @@ dns_name = text .size (0 .. 64)
206206; dns_name: An SRV DNS record
207207multi_host_name = (2, dns_name)
208208
209- pool_metadata = [url, metadata_hash ]
209+ pool_metadata = [url, bytes ]
210210
211211url = text .size (0 .. 64)
212212
213- metadata_hash = hash32
214-
215213pool_retirement = (4, pool_keyhash, epoch)
216214
217215epoch = uint
@@ -270,6 +268,8 @@ maxWord64 = 18446744073709551615
270268
271269nonce = [0// 1, bytes .size 32]
272270
271+ metadata_hash = hash32
272+
273273transaction_witness_set =
274274 { ? 0 : [* vkeywitness]
275275 , ? 1 : [* multisig_script]
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ relay =
237237 / arr [a multi_host_name]
238238
239239pool_metadata :: Rule
240- pool_metadata = " pool_metadata" =:= arr [a url, a metadata_hash ]
240+ pool_metadata = " pool_metadata" =:= arr [a url, a VBytes ]
241241
242242url :: Rule
243243url = " url" =:= VText `sized` (0 :: Word64 , 64 :: Word64 )
You can’t perform that action at this time.
0 commit comments