File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,12 @@ import "./registries/IRegistry.sol";
1717/****************************************************************************
1818 * WARNING: Be carefull when editing this file. *
1919 * *
20- * If you want add new variables for expanded features, add them at the *
21- * end, or (better?) create a Store_v2 that inherits from this Store. *
20+ * If you want to add new variables, add them to the end of the *
21+ * struct `PocoStorage`. *
22+ * Read more about: *
23+ * - Diamond proxy storage https://eips.ethereum.org/EIPS/eip-2535 *
24+ * - Namespaced storage https://eips.ethereum.org/EIPS/eip-7201 *
2225 * *
23- * If in doubt, read about Diamond proxy storage. *
2426 ****************************************************************************/
2527
2628abstract contract Store {
Original file line number Diff line number Diff line change @@ -11,10 +11,12 @@ import {IexecLibCore_v5} from "./libs/IexecLibCore_v5.sol";
1111/****************************************************************************
1212 * WARNING: Be carefull when editing this file. *
1313 * *
14- * If you want add new variables for expanded features, add them at the *
15- * end, or (better?) create a Store_v2 that inherits from this Store. *
14+ * If you want to add new variables, add them to the end of the *
15+ * struct `PocoStorage`. *
16+ * Read more about: *
17+ * - Diamond proxy storage https://eips.ethereum.org/EIPS/eip-2535 *
18+ * - Namespaced storage https://eips.ethereum.org/EIPS/eip-7201 *
1619 * *
17- * If in doubt, read about Diamond proxy storage. *
1820 ****************************************************************************/
1921
2022abstract contract Store {
@@ -90,9 +92,8 @@ abstract contract Store {
9092 // Modified in IexecConfigurationFacet.configure
9193 address m_v3_iexecHub; // IexecHubInterface
9294 mapping (address => bool ) m_v3_scoreImported;
93- /**
94- * @dev A mapping to store PoCo Boost deals.
95- */
95+ // /!\ New storage variables not present in v6 store.
96+ // A mapping to store PoCo Boost deals.
9697 mapping (bytes32 => IexecLibCore_v5.DealBoost) m_dealsBoost;
9798 }
9899
You can’t perform that action at this time.
0 commit comments