From 84a5f4f3b9b5e88c06b4e8a018cb9356fd037963 Mon Sep 17 00:00:00 2001 From: Rohan Kulkarni Date: Wed, 11 Oct 2023 19:02:08 -0400 Subject: [PATCH] chore: update premint tests with default create referral param --- .../1155-contracts/test/fixtures/Zora1155PremintFixtures.sol | 3 ++- packages/1155-contracts/test/nft/ZoraCreator1155.t.sol | 4 +++- .../test/premint/ZoraCreator1155PremintExecutor.t.sol | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/1155-contracts/test/fixtures/Zora1155PremintFixtures.sol b/packages/1155-contracts/test/fixtures/Zora1155PremintFixtures.sol index 0e01c8fd2..dbb152aa3 100644 --- a/packages/1155-contracts/test/fixtures/Zora1155PremintFixtures.sol +++ b/packages/1155-contracts/test/fixtures/Zora1155PremintFixtures.sol @@ -34,7 +34,8 @@ library Zora1155PremintFixtures { royaltyMintSchedule: royaltyConfig.royaltyMintSchedule, royaltyBPS: royaltyConfig.royaltyBPS, royaltyRecipient: royaltyConfig.royaltyRecipient, - fixedPriceMinter: address(fixedPriceMinter) + fixedPriceMinter: address(fixedPriceMinter), + createReferral: address(0) }); } } diff --git a/packages/1155-contracts/test/nft/ZoraCreator1155.t.sol b/packages/1155-contracts/test/nft/ZoraCreator1155.t.sol index 4370496dc..c5ed9b42a 100644 --- a/packages/1155-contracts/test/nft/ZoraCreator1155.t.sol +++ b/packages/1155-contracts/test/nft/ZoraCreator1155.t.sol @@ -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. diff --git a/packages/1155-contracts/test/premint/ZoraCreator1155PremintExecutor.t.sol b/packages/1155-contracts/test/premint/ZoraCreator1155PremintExecutor.t.sol index d5c3bf87a..430552458 100644 --- a/packages/1155-contracts/test/premint/ZoraCreator1155PremintExecutor.t.sol +++ b/packages/1155-contracts/test/premint/ZoraCreator1155PremintExecutor.t.sol @@ -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) }); }