Skip to content

Commit

Permalink
fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
mchrupcala committed Nov 30, 2022
1 parent 011bf7d commit e8f42cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const MinterMerkle_Common = async () => {
const receipt = await tx.deployTransaction.wait();
// check for expected event
// target event is the last log
const targetLog = receipt.logs[0];
const targetLog = receipt.logs[receipt.logs.length-1];
// expect "DefaultMaxInvocationsPerAddress" event as topic 0
expect(targetLog.topics[0]).to.be.equal(
ethers.utils.keccak256(
Expand Down

0 comments on commit e8f42cf

Please sign in to comment.