diff --git a/.changeset/curly-fireants-rest.md b/.changeset/curly-fireants-rest.md index 3f28713ba..9108b0406 100644 --- a/.changeset/curly-fireants-rest.md +++ b/.changeset/curly-fireants-rest.md @@ -2,4 +2,4 @@ "@zoralabs/zora-1155-contracts": patch --- -Revert abi error inclusion with impacted storage layout change +Fix broken storage layout by not including an interface on CreatorRoyaltiesControl diff --git a/packages/1155-contracts/src/royalties/CreatorRoyaltiesControl.sol b/packages/1155-contracts/src/royalties/CreatorRoyaltiesControl.sol index 1888e4785..8fb239c4e 100644 --- a/packages/1155-contracts/src/royalties/CreatorRoyaltiesControl.sol +++ b/packages/1155-contracts/src/royalties/CreatorRoyaltiesControl.sol @@ -11,7 +11,7 @@ import {IERC2981} from "@openzeppelin/contracts/interfaces/IERC2981.sol"; /// @title CreatorRoyaltiesControl /// @author ZORA @iainnash / @tbtstl /// @notice Contract for managing the royalties of an 1155 contract -abstract contract CreatorRoyaltiesControl is CreatorRoyaltiesStorageV1, SharedBaseConstants, ICreatorRoyaltyErrors { +abstract contract CreatorRoyaltiesControl is CreatorRoyaltiesStorageV1, SharedBaseConstants { uint256 immutable ROYALTY_BPS_TO_PERCENT = 10_000; /// @notice The royalty information for a given token. @@ -41,7 +41,7 @@ abstract contract CreatorRoyaltiesControl is CreatorRoyaltiesStorageV1, SharedBa } // Don't allow setting royalties to burn address if (configuration.royaltyRecipient == address(0) && configuration.royaltyBPS > 0) { - revert InvalidMintSchedule(); + revert ICreatorRoyaltyErrors.InvalidMintSchedule(); } royalties[tokenId] = configuration;