Skip to content

Commit

Permalink
chore: update premint tests with default create referral param
Browse files Browse the repository at this point in the history
  • Loading branch information
kulkarohan authored and oveddan committed Oct 18, 2023
1 parent 2dba914 commit 84a5f4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ library Zora1155PremintFixtures {
royaltyMintSchedule: royaltyConfig.royaltyMintSchedule,
royaltyBPS: royaltyConfig.royaltyBPS,
royaltyRecipient: royaltyConfig.royaltyRecipient,
fixedPriceMinter: address(fixedPriceMinter)
fixedPriceMinter: address(fixedPriceMinter),
createReferral: address(0)
});
}
}
4 changes: 3 additions & 1 deletion packages/1155-contracts/test/nft/ZoraCreator1155.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,9 @@ contract ZoraCreator1155Test is Test {
// RoyaltyRecipient for created tokens. The address that will receive the royalty payments.
royaltyRecipient: address(0),
// Fixed price minter address
fixedPriceMinter: address(fixedPriceMinter)
fixedPriceMinter: address(fixedPriceMinter),
// Default create referral
createReferral: address(0)
}),
// Unique id of the token, used to ensure that multiple signatures can't be used to create the same intended token.
// only one signature per token id, scoped to the contract hash can be executed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ contract ZoraCreator1155PreminterTest is ForkDeploymentConfig, Test {
royaltyMintSchedule: defaultRoyaltyConfig.royaltyMintSchedule,
royaltyBPS: defaultRoyaltyConfig.royaltyBPS,
royaltyRecipient: defaultRoyaltyConfig.royaltyRecipient,
fixedPriceMinter: address(fixedPriceMinter)
fixedPriceMinter: address(fixedPriceMinter),
createReferral: address(0)
});
}

Expand Down

0 comments on commit 84a5f4f

Please sign in to comment.