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

TRST audit fixes for Subgraph Service contracts #1074

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

Conversation

tmigone
Copy link
Contributor

@tmigone tmigone commented Nov 28, 2024

This PR addresses the following audit findings:

  • TRST-H-5 Allocations can be closed and historic rewards lost due to allocation power structure
  • TRST-M-6 Allocations could be created in both legacy and Horizon Staking, breaking assumptions

@tmigone tmigone changed the title fix: overallocated condition no longer allows force closing (TRST-H05) TRST audit fixes for Subgraph Service contracts Nov 28, 2024
Copy link

openzeppelin-code bot commented Nov 28, 2024

TRST audit fixes for Subgraph Service contracts

Generated at commit: 9a9f53b9ae8181b8ab992a486bc0afc8a1f1258b

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
4
0
15
40
61
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
@tmigone tmigone force-pushed the tmigone/trust-fixes-subgraph-service branch from a49f0cd to 7efedcc Compare November 29, 2024 13:11
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
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