Skip to content

Commit

Permalink
Fix mint on fre, updated dispenser params.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariacarmina committed Dec 20, 2024
1 parent 95e006f commit 223e38b
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/test/integration/pricing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ describe('Publish pricing scehmas and assert ddo stats', () => {
ethers.parseUnits('18', 'ether'),
ethers.parseUnits('1', 'ether'),
ethers.parseUnits('0', 'ether'),
ethers.parseUnits('1', 'ether')
ethers.parseUnits('0', 'ether')
]
}
)
Expand Down Expand Up @@ -256,16 +256,12 @@ describe('Publish pricing scehmas and assert ddo stats', () => {
})

it('should attach a dispenser', async () => {
const dispenserParams: any = {
maxTokens: '1',
maxBalance: '1',
withMint: true
}
const tx = await datatokenContract.createDispenser(
datatokenAddress,
await publisherAccount.getAddress(),
artifactsAddresses.Dispenser,
dispenserParams
ethers.parseUnits('1', 'ether'),
ethers.parseUnits('1', 'ether'),
true,
ZeroAddress
)
assert(tx, 'Cannot create dispenser')
const txReceipt = await tx.wait()
Expand Down

0 comments on commit 223e38b

Please sign in to comment.