Skip to content

Commit

Permalink
actually fixed storage layout issue
Browse files Browse the repository at this point in the history
  • Loading branch information
oveddan committed Nov 6, 2023
1 parent 60852a3 commit 1197892
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .changeset/curly-fireants-rest.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 1197892

Please sign in to comment.