Skip to content

Commit cf1b5fa

Browse files
committed
fix: adjust maxAllowedRewardShare and maxRevenueShare values in group and license tests for consistency
1 parent efd18e0 commit cf1b5fa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/core-sdk/test/integration/group.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ describe("Group Functions", () => {
196196
it("should successfully register group with license and add multiple IPs", async () => {
197197
const result = await client.groupClient.registerGroupAndAttachLicenseAndAddIps({
198198
groupPool: groupPoolAddress,
199-
maxAllowedRewardShare: 55.5,
199+
maxAllowedRewardShare: 50,
200200
ipIds: [ipId],
201201
licenseData: {
202202
licenseTermsId,
@@ -263,7 +263,7 @@ describe("Group Functions", () => {
263263
const result = await client.groupClient.addIpsToGroup({
264264
groupIpId: groupId,
265265
ipIds: ipIds,
266-
maxAllowedRewardSharePercentage: 55.55555555,
266+
maxAllowedRewardSharePercentage: 55,
267267
});
268268
expect(result.txHash).to.be.a("string");
269269
});

packages/core-sdk/test/integration/license.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ describe("License Functions", () => {
133133
licenseTermsId: licenseId,
134134
licensorIpId: ipIdB,
135135
maxMintingFee: 10000000,
136-
maxRevenueShare: 55.55555555,
136+
maxRevenueShare: 55,
137137
});
138138
expect(result.txHash).to.be.a("string");
139139
expect(result.licenseTokenIds).to.be.a("array");

0 commit comments

Comments
 (0)