Skip to content

Commit

Permalink
Updates Marketplace init facet for forwardable data.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesduncombe committed Apr 3, 2024
1 parent 0bbcac9 commit 2e2fd46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contracts/marketplace/MarketplaceInitFacet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import "../common/lib/LibHasAutomatons.sol";
import "../common/lib/LibHasForwarder.sol";
import "../common/AHasMembers.sol";
import "../common/AHasAutomatons.sol";
import "../common/AHasForwarder.sol";
import "../interfaces/IERC165.sol"; // Interface Support.
import "../interfaces/IERC173.sol"; // Ownership.
import "../interfaces/IDiamondCut.sol"; // Facet management.
Expand Down Expand Up @@ -67,6 +66,8 @@ contract MarketplaceInitFacet is AMarketplaceFacet {
// ------------------------------------- //

// Initialize forwarder storage.
LibHasForwarder.data().forwarderAddress = address(0);
LibHasForwarder.Data storage forwarderData = LibHasForwarder.data();
forwarderData.version = LibHasForwarder.STORAGE_VERSION;
forwarderData.forwarderAddress = address(0);
}
}

0 comments on commit 2e2fd46

Please sign in to comment.