Support multi-validator in script context accept test.

This commit is contained in:
KtorZ
2024-08-10 14:11:24 +02:00
parent b158469144
commit eea8dc7d0a
15 changed files with 266 additions and 98 deletions

View File

@@ -0,0 +1,5 @@
[
{ 0: h'6000000000000000000000000000000000000000000000000000000000'
, 1: 1000000
}
]

View File

@@ -0,0 +1,65 @@
[
{ 0:
[ [h'0000000000000000000000000000000000000000000000000000000000000000', 0]
]
, 1:
[ { 0: h'6000000000000000000000000000000000000000000000000000000000'
, 1: 1000000
, 2: [1, 24(h'4463666F6F')]
}
, { 0: h'6000000000000000000000000000000000000000000000000000000000'
, 1:
[ 1000000
, { h'{{ mint.mint_1.hash }}': { h'74756e61': 100000000000000 }
, h'{{ mint.mint_2.hash }}': { h'61696b656e': 42 }
}
]
}
, { 0: h'6000000000000000000000000000000000000000000000000000000000'
, 1:
[ 1000000
, { h'{{ mint.mint_2.hash }}': { h'63617264616e6f': 1 }
}
]
, 3: 24(h'82034463666F6F')
}
]
, 2: 42
, 9:
{ h'{{ mint.mint_1.hash }}':
{ h'74756e61': 100000000000000
}
, h'{{ mint.mint_2.hash }}':
{ h'63617264616e6f': 1
, h'61696b656e': -14
}
}
, 11: h'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF'
, 13:
[ [h'0000000000000000000000000000000000000000000000000000000000000000', 0]
]
, 16:
[ h'6000000000000000000000000000000000000000000000000000000000', 1000000000
]
, 17: 1
},
{ 5:
[ [1, 0, 121([]), [1000000, 100000000]]
, [1, 1, 42, [1000000, 100000000]]
]
},
true,
null
]

View File

@@ -0,0 +1,6 @@
[
{ 0: h'70{{ simple_spend.spend.hash }}'
, 1: 1000000000
, 2: [1, 24(h'd87980')]
}
]

View File

@@ -4,8 +4,7 @@
]
, 1:
[ [h'6011111111111111111111111111111111111111111111111111111111', 1000000000]
]
[]
, 2: 42
@@ -24,7 +23,7 @@
{ 5: [[0, 0, 121([]), [1000000, 100000000]]]
, 7: [h'{{ VALIDATOR }}']
, 7: [h'{{ simple_spend.spend.cbor }}']
},

View File

@@ -1 +0,0 @@
81a300581d70{{ VALIDATOR_HASH }}011a3b9aca00028201d818{{ DATUM }}