We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 262889b commit 5c5fbc8Copy full SHA for 5c5fbc8
packages/subgraph-service/contracts/libraries/IndexingAgreement.sol
@@ -431,7 +431,6 @@ library IndexingAgreement {
431
uint256 collectionSeconds = block.timestamp;
432
collectionSeconds -= _agreement.lastCollectionAt > 0 ? _agreement.lastCollectionAt : _agreement.acceptedAt;
433
434
- // FIX-ME: this is bad because it encourages indexers to collect at max seconds allowed to maximize collection.
435
return collectionSeconds * (termsV1.tokensPerSecond + termsV1.tokensPerEntityPerSecond * _entities);
436
}
437
0 commit comments