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

feat(oracle): implement reward allocation for oracles #839

Merged
merged 56 commits into from
Aug 25, 2022

Conversation

testinginprod
Copy link
Collaborator

@testinginprod testinginprod commented Aug 23, 2022

closes: #805
depends on: #835

godismercilex and others added 30 commits August 15, 2022 19:02
# Conflicts:
#	CHANGELOG.md
#	app/app.go
proto/oracle/v1beta1/genesis.proto Show resolved Hide resolved
x/oracle/keeper/keeper_test.go Show resolved Hide resolved
x/oracle/keeper/reward.go Outdated Show resolved Hide resolved
@testinginprod testinginprod changed the title Mercilex/oracle allocate rewards feat(oracle): implement reward allocation for oracles Aug 24, 2022
Base automatically changed from mercilex/oracle-remove-pick-reference-pair to master August 24, 2022 15:37
# Conflicts:
#	x/oracle/keeper/ballot_test.go
#	x/oracle/keeper/tally_fuzz_test.go
#	x/oracle/keeper/update_exchange_rate_test.go
#	x/oracle/keeper/update_exchange_rates.go
@testinginprod testinginprod marked this pull request as ready for review August 25, 2022 04:34
@testinginprod testinginprod requested a review from a team as a code owner August 25, 2022 04:34
@@ -13,15 +13,17 @@ func NewGenesisState(
aggregateExchangeRatePrevotes []AggregateExchangeRatePrevote,
aggregateExchangeRateVotes []AggregateExchangeRateVote,
pairs []Pair,
pairRewards []*PairReward,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why slice of pointers here and not regular slice like the other arguments?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I will address this in the next PR.

Not doing it RN just to avoid merge conflicts with the other PR, since it's a pretty small change, I can address it there.

I'll merge this for now.

@testinginprod testinginprod merged commit eccb38b into master Aug 25, 2022
@testinginprod testinginprod deleted the mercilex/oracle-allocate-rewards branch August 25, 2022 05:13
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.

feat(x/oracle): oracle rewarding
3 participants