Skip to content

Commit 03826a4

Browse files
committed
test(zora): add test to check plugin is compatible with checksummed "to" address
1 parent 84cb023 commit 03826a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/zora/src/test-setup.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { getAddress } from 'viem'
12
import { createTestCase } from './utils'
23
import {
34
BASIC_PURCHASE,
@@ -11,6 +12,9 @@ export const passingTestCases = [
1112
createTestCase(MINT_WITH_REWARDS, 'Minting with rewards'),
1213
createTestCase(MINT_WITH_REWARDS_1155, 'Minting with rewards 1155'),
1314
createTestCase(MINT_BATCH_WITHOUT_FEES, 'When using the batch mint function'),
15+
createTestCase(MINT_WITH_REWARDS, 'when contractAddress is checksummed', {
16+
contractAddress: getAddress(MINT_WITH_REWARDS.params.contractAddress),
17+
}),
1418
]
1519

1620
export const failingTestCases = [

0 commit comments

Comments
 (0)