Skip to content

[audit-09] fix: [TRST-L-6] Proper agreement version check #1206

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

Open
wants to merge 1 commit into
base: ma/indexing-payments-audit-fixes-08-L-5
Choose a base branch
from

Conversation

matiasedgeandnode
Copy link
Contributor

Screenshot 2025-07-24 at 10 47 35

Copy link

openzeppelin-code bot commented Jul 24, 2025

[audit-09] fix: [TRST-L-6] Proper agreement version check

Generated at commit: e071a73250ad8c7d858bccd8f1de3bb1148e2e35

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
4
0
15
39
60
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@matiasedgeandnode matiasedgeandnode force-pushed the ma/indexing-payments-audit-fixes-09-L-6 branch from fb374ff to e071a73 Compare July 24, 2025 14:06
@@ -226,7 +226,38 @@ contract SubgraphServiceIndexingAgreementAcceptTest is SubgraphServiceIndexingAg
subgraphService.acceptIndexingAgreement(ctx.indexers[0].allocationId, accepted);
}

function test_SubgraphService_AcceptIndexingAgreement_Revert_WhenAgreementAlreadyAllocated() public {}
function test_SubgraphService_AcceptIndexingAgreement_Revert_WhenAgreementAlreadyAllocated(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test seems unrelated to the fix, right? In which case it would be good to include a test for when an invalid version is supplied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants