Skip to content

Conversation

aalavandhan
Copy link
Member

We rebase with zero supply change when oracle inputs are invalid at the time of rebase

Copy link

Updated invalid oracle input handling

Generated at commit: 3ff000fd3b3efd4db523e26a47f58503c75bfd85

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
1
1
0
5
23
30
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

Copy link
Member

@brandoniles brandoniles left a comment

Choose a reason for hiding this comment

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

I suppose there is a case where the oracle report becomes valid later inside the same rebase window. In that case, an otherwise successful non-zero rebase would be blocked by the zero rebase that came before it.

But I don't see any good way to guard against that and still get this functionality.

@aalavandhan aalavandhan merged commit 5e14374 into master Oct 17, 2024
3 checks passed
@aalavandhan aalavandhan deleted the policy-update branch October 17, 2024 20:54
@ahnaguib ahnaguib self-assigned this Oct 21, 2024
@ahnaguib
Copy link
Contributor

LGTM!

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.

3 participants