Skip to content

Commit e358d12

Browse files
committed
misc: remove and update TODO and NOTES
1 parent c24993b commit e358d12

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

contracts/curation/Curation.sol

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,9 @@ contract Curation is CurationV1Storage, GraphUpgradeable, ICuration {
214214

215215
// If no signal token for the pool - create one
216216
if (address(curationPool.gcs) == address(0)) {
217-
// TODO: the gas cost of deploying the subgraph token can be greatly optimized
218-
// by deploying a proxy each time, sharing the same implementation
217+
// TODO: Use a minimal proxy to reduce gas cost
218+
// https://github.com/graphprotocol/contracts/issues/405
219+
// --abarmat-- 20201113
219220
curationPool.gcs = IGraphCurationToken(
220221
address(new GraphCurationToken(address(this)))
221222
);

contracts/rewards/RewardsManager.sol

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,6 @@ contract RewardsManager is RewardsManagerV1Storage, GraphUpgradeable, IRewardsMa
291291
* Must be called before allocation on a subgraph changes.
292292
* NOTE: Hook called from the Staking contract on allocate() and close()
293293
*
294-
* TODO: Some staticcalls can be optimized by making the Staking contract pass
295-
* more information in the call
296-
*
297294
* @param _subgraphDeploymentID Subgraph deployment
298295
* @return Accumulated rewards per allocated token for a subgraph
299296
*/

0 commit comments

Comments
 (0)