-
Notifications
You must be signed in to change notification settings - Fork 202
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(oracle)!: count vote omission as abstain for less slashing + more stability #1565
Merged
Merged
Changes from 18 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
2b8cd27
refactor(liquidate_test): use named imports
Unique-Divine 6ad181b
refactor(amm_test): use named imports
Unique-Divine 765f5a3
refactor(admin_test, calc_test, grpc_query_test): use named imports
Unique-Divine c490ffc
refactor(perp/keeper): use named imports
Unique-Divine 02a2e9d
refactor(perp/keeper): use named imports | Complete
Unique-Divine 9cbae1f
changelog
Unique-Divine a53b360
Merge branch 'master' into realu/refactor-no-unnamed
Unique-Divine 9adc9e4
fix(oracle): miss outside reward band but not on abstain
Unique-Divine c6a592d
Merge branch 'realu/refactor-no-unnamed' into realu/oracle-miss
Unique-Divine 3ca259a
fix(oracle): #wip checkpoint for omit == abstain
Unique-Divine b9862f4
checkout x/perp from master
Unique-Divine d4e9bb8
change log
Unique-Divine 70001e9
test(oracle/types): more unit tests
Unique-Divine f741d7f
Merge branch 'master' into realu/oracle-miss
Unique-Divine a0cf656
refactor: use types. instead of New for names args
Unique-Divine 0a9be17
rm error.txt
Unique-Divine fad86ca
del zombie code
Unique-Divine f8bba05
variable renaming
k-yang f749e9a
Merge branch 'master' into realu/oracle-miss
k-yang 1ee6408
rename exchange rate ballot to exchange rate vote
k-yang bff235a
rename ballot to vote
k-yang 968958d
rename variables
k-yang d1467ff
rename variables
k-yang 32c34cb
rename variables
k-yang 51b18cc
fix TestWhitelistedPairs
k-yang 1b48b90
rename variables
k-yang af92024
rename ballots to votes
k-yang 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
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
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
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
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
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
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.
This is a bad idea, to have a return only used for tests. The function already mentions that it mutates the validator perfomances, returning it is confusing.