-
Notifications
You must be signed in to change notification settings - Fork 27
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
Fix/revert on already set values #92
Fix/revert on already set values #92
Conversation
Signed-off-by: julien <[email protected]>
Signed-off-by: julien <[email protected]>
Co-authored-by: Merlin Egalite <[email protected]> Signed-off-by: Julien THOMAS <[email protected]>
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.
Agree that it should revert on already set values, but I think that it would cleaner with #100
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.
This makes me wonder if we should make the revert explicit when the URD has already been deployed, by adding a check in the UrdFactory. I think no because it would be an edge case and also it would not be kind of awkward to do
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.
@oumar-fall actually stumbled upon this issue today
Co-authored-by: Merlin Egalite <[email protected]> Signed-off-by: Quentin Garchery <[email protected]>
…t-root Streamline `submitRoot` and `setRoot`
@QGarchery maybe you can update this PR so I can trigger spearbit |
…on-already-set-values
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.
@oumar-fall actually stumbled upon this issue today
I'm not very sure how I feel about the The updater needs to always check which is the |
It doesn't look like an issue to me: the owner/updater would in this case have to also call |
The updater already had to check the timelock value because was used to discriminate whether it is possible to update instantly or not. |
Ive defined 2 errors since I want to distinguish the cases on submission of the pending root. Is it reverting due to the current pending root or the current root?
I'm not convinced about the error names, open to suggestion 😆
cantina issue