From 174805e47f2ef0b3f6fc542f48bb51712c6ad2ba Mon Sep 17 00:00:00 2001 From: Brian Sin Date: Wed, 8 May 2024 00:34:19 +0700 Subject: [PATCH] fix missing increasing phase id --- .../src/marketplace/openedition/ERC721_open_edition.cairo | 1 + 1 file changed, 1 insertion(+) diff --git a/flex_marketplace/src/marketplace/openedition/ERC721_open_edition.cairo b/flex_marketplace/src/marketplace/openedition/ERC721_open_edition.cairo index 9f184d9..057305f 100644 --- a/flex_marketplace/src/marketplace/openedition/ERC721_open_edition.cairo +++ b/flex_marketplace/src/marketplace/openedition/ERC721_open_edition.cairo @@ -195,6 +195,7 @@ mod ERC721OpenEdition { self.ownable.assert_only_owner(); self.assert_allowed_flex_drop(flex_drop); let current_phase_id = self.current_phase_id.read(); + self.current_phase_id.write(current_phase_id + 1); IFlexDropDispatcher { contract_address: flex_drop } .start_new_phase_drop(current_phase_id, phase_detail, fee_recipient)