@@ -750,7 +750,7 @@ func TestUtxoValidateOutputTooBigUtxo(t *testing.T) {
750750 cbor .NewByteString (tmpAssetName ): 1 ,
751751 }
752752 }
753- tmpBadMultiAsset := common.NewMultiAsset [common. MultiAssetTypeOutput ] (
753+ tmpBadMultiAsset := common .NewMultiAsset (
754754 tmpBadAssets ,
755755 )
756756 var testOutputValueBad = mary.MaryTransactionOutputValue {
@@ -996,7 +996,7 @@ func TestUtxoValidateInsufficientCollateral(t *testing.T) {
996996 t .Run (
997997 "insufficient collateral" ,
998998 func (t * testing.T ) {
999- testTx .Body .TxCollateral = cbor .NewSetType [shelley. ShelleyTransactionInput ] (
999+ testTx .Body .TxCollateral = cbor .NewSetType (
10001000 []shelley.ShelleyTransactionInput {
10011001 shelley .NewShelleyTransactionInput (testInputTxId , 0 ),
10021002 },
@@ -1029,7 +1029,7 @@ func TestUtxoValidateInsufficientCollateral(t *testing.T) {
10291029 t .Run (
10301030 "sufficient collateral" ,
10311031 func (t * testing.T ) {
1032- testTx .Body .TxCollateral = cbor .NewSetType [shelley. ShelleyTransactionInput ] (
1032+ testTx .Body .TxCollateral = cbor .NewSetType (
10331033 []shelley.ShelleyTransactionInput {
10341034 shelley .NewShelleyTransactionInput (testInputTxId , 0 ),
10351035 shelley .NewShelleyTransactionInput (testInputTxId , 1 ),
@@ -1064,7 +1064,7 @@ func TestUtxoValidateCollateralContainsNonAda(t *testing.T) {
10641064 },
10651065 },
10661066 }
1067- tmpMultiAsset := common.NewMultiAsset [common. MultiAssetTypeOutput ] (
1067+ tmpMultiAsset := common .NewMultiAsset (
10681068 map [common.Blake2b224 ]map [cbor.ByteString ]uint64 {},
10691069 )
10701070 testLedgerState := test.MockLedgerState {
@@ -1092,7 +1092,7 @@ func TestUtxoValidateCollateralContainsNonAda(t *testing.T) {
10921092 t .Run (
10931093 "coin and assets" ,
10941094 func (t * testing.T ) {
1095- testTx .Body .TxCollateral = cbor .NewSetType [shelley. ShelleyTransactionInput ] (
1095+ testTx .Body .TxCollateral = cbor .NewSetType (
10961096 []shelley.ShelleyTransactionInput {
10971097 shelley .NewShelleyTransactionInput (testInputTxId , 0 ),
10981098 shelley .NewShelleyTransactionInput (testInputTxId , 1 ),
@@ -1126,7 +1126,7 @@ func TestUtxoValidateCollateralContainsNonAda(t *testing.T) {
11261126 t .Run (
11271127 "coin only" ,
11281128 func (t * testing.T ) {
1129- testTx .Body .TxCollateral = cbor .NewSetType [shelley. ShelleyTransactionInput ] (
1129+ testTx .Body .TxCollateral = cbor .NewSetType (
11301130 []shelley.ShelleyTransactionInput {
11311131 shelley .NewShelleyTransactionInput (testInputTxId , 0 ),
11321132 },
@@ -1203,7 +1203,7 @@ func TestUtxoValidateNoCollateralInputs(t *testing.T) {
12031203 t .Run (
12041204 "collateral" ,
12051205 func (t * testing.T ) {
1206- testTx .Body .TxCollateral = cbor .NewSetType [shelley. ShelleyTransactionInput ] (
1206+ testTx .Body .TxCollateral = cbor .NewSetType (
12071207 []shelley.ShelleyTransactionInput {
12081208 shelley .NewShelleyTransactionInput (testInputTxId , 0 ),
12091209 },
0 commit comments