This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Two-step change for governable values #515
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
eb7328a
Time delay Governable value changes
3375a2a
Test governable value time delay
b0b8b5f
Extract delay check to a modifier
7e64610
Update system tests
bce465c
Check values after update finalization
e5cd842
Extract common getRemainingUpdateTerm functionality
d7adb82
test getRemainingUpdateTime functions
2c9c262
Merge branch 'master' into two-step-gov
NicholasDotSol 596088b
Test Value update init override
eeba9fb
Merge branch 'master' into two-step-gov
NicholasDotSol 7690419
Merge branch 'master' into two-step-gov
NicholasDotSol 3e8687e
governanceTimeDelay Update
bdb417d
Add grace of 1 block to timestamp check
cfdc916
Merge branch 'two-step-gov' of https://github.com/keep-network/tbtc i…
864c2db
Merge branch 'master' into two-step-gov
NicholasDotSol 45171be
Merge branch 'master' into two-step-gov
nkuba d65592b
Merge branch 'master' into two-step-gov
Shadowfiend File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
What will happen if we call
finalizeSignerFeeDivisorUpdate
once again? WillsignerFeeDivisor
be set to0
?Maybe we shouldn't do
newSignerFeeDivisor = 0
here?Or maybe we should check if
signerFeeDivisorChangeInitiated > 0
at the beginning?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.
Comment above refers also to other functions.
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.
yes, this we need
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.
@NicholasDotSol have you pushed any updates around that?
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.
yep, we have 2 separate requirements in
onlyAfterDelay
modifier now