-
Notifications
You must be signed in to change notification settings - Fork 158
[audit-12] Fix Recommendations. #1209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: ma/indexing-payments-audit-fixes-11-L-9
Are you sure you want to change the base?
[audit-12] Fix Recommendations. #1209
Conversation
5aadaeb
to
62b61d6
Compare
[audit-12] Fix Recommendations.
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
1170b6a
to
fb71b75
Compare
@@ -577,7 +579,7 @@ library IndexingAgreement { | |||
agreementId: params.agreementId, | |||
collectionId: bytes32(uint256(uint160(wrapper.agreement.allocationId))), | |||
tokens: expectedTokens, | |||
dataServiceCut: 0, | |||
dataServiceCut: params.indexingFeesCut, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will send the cut to the subgraph service contract, which would require a contract update for those funds to be used/transferred, right? (Not a problem per se, but maybe worth documenting)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmm... I believe this mimics what's done for query fees. Is that the case for query fees as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With query fees all of the data service fees are redistributed (as curation fees)
dbe49d5
to
9423bfa
Compare
fb71b75
to
f45f407
Compare
9423bfa
to
17b794e
Compare
f45f407
to
b492251
Compare
Uh oh!
There was an error while loading. Please reload this page.