Skip to content

Commit

Permalink
debug logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariacarmina committed Jan 20, 2025
1 parent 046d8fa commit f9c3e94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/integration/pricing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,13 @@ describe('Publish pricing scehmas and assert ddo stats - FRE & Dispenser', () =>
ZeroAddress
)
assert(tx, 'Cannot create dispenser')
console.log('tx for dipenser: ', JSON.stringify(tx))
const txReceipt = await tx.wait()
console.log('txReceipt for dipenser: ', JSON.stringify(txReceipt))
const dispenserEvent = getEventFromTxByHash(
txReceipt,
'0x7d0aa581e6eb87e15f58588ff20c39ff6622fc796ec9bb664df6ed3eb02442c9' // DispenserCreated
)
console.log('dispenserEvent: ', JSON.stringify(dispenserEvent))
assert(
dispenserEvent.args[0] === datatokenAddress,
'Datatoken addresses do not match for dispenser event'
Expand All @@ -287,6 +287,7 @@ describe('Publish pricing scehmas and assert ddo stats - FRE & Dispenser', () =>
Dispenser.abi,
publisherAccount
)
console.log('dispenserContract: ', JSON.stringify(dispenserContract))
const activationTx = await dispenserContract.activate(
datatokenAddress,
ethers.parseUnits('1', 'ether'),
Expand Down

0 comments on commit f9c3e94

Please sign in to comment.