From 2e2fd46ea5e80416591d7e95b98564037a29da72 Mon Sep 17 00:00:00 2001 From: James Duncombe Date: Tue, 5 Mar 2024 13:46:17 +0000 Subject: [PATCH] Updates Marketplace init facet for forwardable data. --- contracts/marketplace/MarketplaceInitFacet.sol | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contracts/marketplace/MarketplaceInitFacet.sol b/contracts/marketplace/MarketplaceInitFacet.sol index af56c743..05b9e643 100644 --- a/contracts/marketplace/MarketplaceInitFacet.sol +++ b/contracts/marketplace/MarketplaceInitFacet.sol @@ -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. @@ -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); } }