@@ -55,28 +55,28 @@ abstract contract Store {
5555 // In order to use the protocol, users have to deposit RLC
5656 // and allow PoCo smart contracts to manage them. This state
5757 // variable keeps track of users balances.
58- mapping (address account = > uint256 amount ) m_balances;
58+ mapping (address /* account */ => uint256 /* amount */ ) m_balances;
5959 // When a deal is created, the protocol temporarily locks an amount
6060 // of RLC tokens from the balances of both the requester and the workerpool owners.
6161 // This is to guarantee the payment of different actors later. Frozen funds
6262 // are released when the computation is completed and the result is pushed.
63- mapping (address account = > uint256 amount ) m_frozens;
64- mapping (address account = > mapping (address spender = > uint256 amount )) m_allowances;
63+ mapping (address /* account */ => uint256 /* amount */ ) m_frozens;
64+ mapping (address /* owner */ => mapping (address /* spender */ => uint256 /* amount */ )) m_allowances;
6565 // EIP-712 domain hash.
6666 // Modified in IexecConfigurationFacet.updateDomainSeparator
6767 bytes32 m_eip712DomainSeparator;
6868 // Mapping an order hash to its owner. Since a smart contract cannot sign orders
6969 // with a private key, it adds an entry to this mapping to provide presigned orders.
70- mapping (bytes32 orderHash = > address owner ) m_presigned;
70+ mapping (bytes32 /* orderHash */ => address /* owner */ ) m_presigned;
7171 // Each order has a volume (>=1). This tracks how much is consumed from
7272 // the volume of each order. Mapping an order hash to its consumed amount.
73- mapping (bytes32 orderHash = > uint256 consumedAmount ) m_consumed;
73+ mapping (bytes32 /* orderHash */ => uint256 /* consumedAmount */ ) m_consumed;
7474 // a mapping to store PoCo classic deals.
75- mapping (bytes32 dealId = > IexecLibCore_v5.Deal) m_deals;
76- mapping (bytes32 taskId = > IexecLibCore_v5.Task) m_tasks;
77- mapping (bytes32 taskId = > IexecLibCore_v5.Consensus) m_consensus;
78- mapping (bytes32 taskId = > mapping (address worker = > IexecLibCore_v5.Contribution)) m_contributions;
79- mapping (address worker = > uint256 score ) m_workerScores;
75+ mapping (bytes32 /* dealId */ => IexecLibCore_v5.Deal) m_deals;
76+ mapping (bytes32 /* taskId */ => IexecLibCore_v5.Task) m_tasks;
77+ mapping (bytes32 /* taskId */ => IexecLibCore_v5.Consensus) m_consensus;
78+ mapping (bytes32 /* taskId */ => mapping (address /* worker */ => IexecLibCore_v5.Contribution)) m_contributions;
79+ mapping (address /* worker */ => uint256 /* score */ ) m_workerScores;
8080 // Poco - Settings
8181 // Address of a trusted TEE authority that manages enclave challenges.
8282 // Modified in IexecConfigurationFacet.setTeeBroker
@@ -89,10 +89,10 @@ abstract contract Store {
8989 // Backward compatibility
9090 // Modified in IexecConfigurationFacet.configure
9191 address m_v3_iexecHub; // IexecHubInterface
92- mapping (address worker = > bool ) m_v3_scoreImported;
92+ mapping (address /* worker */ => bool ) m_v3_scoreImported;
9393 // /!\ New storage variables not present in v6 store.
9494 // A mapping to store PoCo Boost deals.
95- mapping (bytes32 dealId = > IexecLibCore_v5.DealBoost) m_dealsBoost;
95+ mapping (bytes32 /* dealId */ => IexecLibCore_v5.DealBoost) m_dealsBoost;
9696 }
9797
9898 function getPocoStorage () internal pure returns (PocoStorage storage $) {
0 commit comments