-
Notifications
You must be signed in to change notification settings - Fork 160
Horizon: pending changes after audit #1131
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
Conversation
Horizon: pending changes after audit
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
84e6c15
to
e68d12d
Compare
e8a47dd
to
f2c3b7e
Compare
f2c3b7e
to
82e68ab
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## horizon-oz2/h02-delegation-slashing #1131 +/- ##
======================================================================
Coverage ? 92.56%
======================================================================
Files ? 47
Lines ? 2435
Branches ? 440
======================================================================
Hits ? 2254
Misses ? 181
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
bd9bf6d
to
cd9197a
Compare
82e68ab
to
46013e9
Compare
88312ff
to
42ef624
Compare
46013e9
to
290b8f9
Compare
require(allocation.isOpen(), AllocationManagerAllocationClosed(_allocationId)); | ||
|
||
uint256 currentEpoch = _graphEpochManager().currentEpoch(); | ||
// uint256 currentEpoch = _graphEpochManager().currentEpoch(); |
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.
Leftover commented code
uint256 curationCut = _curation().isCurated(subgraphDeploymentId) ? curationFeesCut : 0; | ||
tokensCollected = _graphTallyCollector().collect( | ||
IGraphPayments.PaymentTypes.QueryFee, | ||
abi.encode(signedRav, curationCut), |
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.
Should the payment destination be encoded here too?
be57dab
to
83f40a8
Compare
42ef624
to
9ce4d11
Compare
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
83f40a8
to
c0e83cf
Compare
No description provided.