File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -429,6 +429,7 @@ export class LicenseClient {
429429 expectMinimumGroupRewardShare : Math . trunc (
430430 licensingConfig . expectMinimumGroupRewardShare / 1000000 ,
431431 ) ,
432+ commercialRevShare : Math . trunc ( licensingConfig . commercialRevShare / 1000000 ) ,
432433 } ,
433434 } ) ;
434435 }
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ describe("License Functions", () => {
221221 isSet : true ,
222222 licensingHook : zeroAddress ,
223223 hookData : randomHookData ,
224- commercialRevShare : 0 ,
224+ commercialRevShare : 100 ,
225225 disabled : false ,
226226 expectMinimumGroupRewardShare : 1 ,
227227 expectGroupRewardPool : zeroAddress ,
@@ -244,6 +244,7 @@ describe("License Functions", () => {
244244 expect ( result ) . to . deep . equal ( {
245245 ...licensingConfig ,
246246 expectMinimumGroupRewardShare : 1 * 10 ** 6 ,
247+ commercialRevShare : 100 * 10 ** 6 ,
247248 } ) ;
248249 } ) ;
249250
Original file line number Diff line number Diff line change @@ -1288,7 +1288,7 @@ describe("Test LicenseClient", () => {
12881288 mintingFee : 0n ,
12891289 licensingHook : zeroAddress ,
12901290 hookData : zeroAddress ,
1291- commercialRevShare : 0 ,
1291+ commercialRevShare : 10 * 10 ** 6 ,
12921292 disabled : false ,
12931293 expectMinimumGroupRewardShare : 1 * 10 ** 6 ,
12941294 expectGroupRewardPool : zeroAddress ,
@@ -1309,7 +1309,7 @@ describe("Test LicenseClient", () => {
13091309 mintingFee : 0n ,
13101310 licensingHook : "0xaBAD364Bfa41230272b08f171E0Ca939bD600478" ,
13111311 hookData : zeroAddress ,
1312- commercialRevShare : 0 ,
1312+ commercialRevShare : 10 * 10 ** 6 ,
13131313 disabled : false ,
13141314 expectMinimumGroupRewardShare : 1 * 10 ** 6 ,
13151315 expectGroupRewardPool : zeroAddress ,
You can’t perform that action at this time.
0 commit comments