Skip to content

Commit 03ed657

Browse files
f: comment one agreement per alloc
1 parent 21961c4 commit 03ed657

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/subgraph-service/contracts/libraries/IndexingAgreement.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ library IndexingAgreement {
249249
)
250250
);
251251

252+
// Ensure that an allocation can only have one active indexing agreement
252253
require(
253254
self.allocationToActiveAgreementId[allocationId] == bytes16(0),
254255
AllocationAlreadyHasIndexingAgreement(allocationId)

0 commit comments

Comments
 (0)