Skip to content
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

Use Authorizable for GraphTallyCollector #1110

Open
wants to merge 4 commits into
base: horizon
Choose a base branch
from

Conversation

matiasedgeandnode
Copy link
Contributor

No description provided.

anotherPayer
);
vm.expectRevert(expectedError);
vm.expectRevert(IGraphTallyCollector.GraphTallyCollectorInvalidRAVSigner.selector);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is slightly different to the original implementation

users.gateway,
signer
);
vm.expectRevert(expectedError);
graphTallyCollector.thawSigner(signer);
}

function testGraphTally_ThawSigner_RevertWhen_AlreadyThawing() public useGateway useSigner {
function testGraphTally_ThawSigner_AlreadyThawing() public useGateway useSigner {
Copy link
Contributor Author

@matiasedgeandnode matiasedgeandnode Feb 13, 2025

Choose a reason for hiding this comment

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

This is different to the original implementation. Where originally it would revert, now it resets the thaw timer.

@matiasedgeandnode matiasedgeandnode changed the title Uses Authorizable for GraphTallyCollector Use Authorizable for GraphTallyCollector Feb 13, 2025
Copy link

openzeppelin-code bot commented Feb 13, 2025

Use Authorizable for GraphTallyCollector

Generated at commit: 3c573985d9ecc88b92766ee84b521f67d753eb52

🚨 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

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.

1 participant