@@ -234,7 +234,6 @@ describe("IP Asset Functions", () => {
234234 const response = await client . ipAsset . registerDerivativeWithLicenseTokens ( {
235235 childIpId : ipId ,
236236 licenseTokenIds : [ mintLicenseTokensResult . licenseTokenIds ! [ 0 ] ] ,
237- maxRts : 5 * 10 ** 6 ,
238237 } ) ;
239238 expect ( response . txHash ) . to . be . a ( "string" ) ;
240239 } ) ;
@@ -537,7 +536,6 @@ describe("IP Asset Functions", () => {
537536 const result = await client . ipAsset . mintAndRegisterIpAndMakeDerivativeWithLicenseTokens ( {
538537 spgNftContract : nftContract ,
539538 licenseTokenIds : [ mintLicenseTokensResult . licenseTokenIds ! [ 0 ] ] ,
540- maxRts : 5 * 10 ** 6 ,
541539 ipMetadata : {
542540 ipMetadataURI : "test-uri" ,
543541 ipMetadataHash : toHex ( "test-metadata-hash" , { size : 32 } ) ,
@@ -1116,7 +1114,7 @@ describe("IP Asset Functions", () => {
11161114 await client . ipAsset . mintAndRegisterIpAndMakeDerivativeWithLicenseTokens ( {
11171115 spgNftContract : nftContractWithMintingFee ,
11181116 licenseTokenIds : licenseTokenIds ! ,
1119- maxRts : MAX_ROYALTY_TOKEN ,
1117+ maxRts : 0 ,
11201118 ipMetadata : {
11211119 ipMetadataURI : "test" ,
11221120 ipMetadataHash : zeroHash ,
@@ -1603,15 +1601,12 @@ describe("IP Asset Functions", () => {
16031601 childIpId : childIpId ,
16041602 parentIpIds : [ parentIpId ] ,
16051603 licenseTermsIds : [ noCommercialLicenseTermsId ] ,
1606- maxMintingFee : 0 ,
1607- maxRts : 5 * 10 ** 6 ,
1608- maxRevenueShare : 0 ,
16091604 } ,
16101605 {
16111606 childIpId : childIpId2 ,
16121607 parentIpIds : [ parentIpId ] ,
16131608 licenseTermsIds : [ noCommercialLicenseTermsId ] ,
1614- maxMintingFee : 0 ,
1609+ maxMintingFee : 10000000 ,
16151610 maxRts : 5 * 10 ** 6 ,
16161611 maxRevenueShare : 0 ,
16171612 } ,
@@ -1875,7 +1870,7 @@ describe("IP Asset Functions", () => {
18751870 } )
18761871 ) . ipId ! ,
18771872 licenseTokenIds : [ mintLicenseTokensResult . licenseTokenIds ! [ 0 ] ] ,
1878- maxRts : 5 * 10 ** 6 ,
1873+ maxRts : 0 ,
18791874 } ) ;
18801875
18811876 const tokenId2 = await getTokenId ( ) ;
@@ -3568,9 +3563,6 @@ describe("IP Asset Functions", () => {
35683563 derivData : {
35693564 parentIpIds : [ parentIpId ! ] ,
35703565 licenseTermsIds : [ commercialRemixLicenseTermsId ] ,
3571- maxMintingFee : 10000n ,
3572- maxRts : 100 ,
3573- maxRevenueShare : 100 ,
35743566 } ,
35753567 royaltyShares : [
35763568 {
@@ -3620,6 +3612,7 @@ describe("IP Asset Functions", () => {
36203612 nft : { type : "minted" , nftContract : mockERC721 , tokenId : tokenId ! } ,
36213613 licenseTokenIds : licenseTokenIds ! ,
36223614 maxRts : 100 ,
3615+ maxMintingFee : 10000n ,
36233616 } ) ;
36243617
36253618 expect ( result . ipId ) . to . be . a ( "string" ) ;
0 commit comments