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: finish incentive module #1952

Merged
merged 99 commits into from
Apr 25, 2023
Merged

feat: finish incentive module #1952

merged 99 commits into from
Apr 25, 2023

Conversation

toteki
Copy link
Member

@toteki toteki commented Mar 27, 2023

Contains:

closes: #1749

x/incentive/keeper/invariants.go Fixed Show fixed Hide fixed
// EndBlock executes all ABCI EndBlock logic respective to the x/incentive module.
// It returns no validator updates.
func (am AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate {
return EndBlocker(ctx, am.keeper)

Check warning

Code scanning / CodeQL

Panic in BeginBock or EndBlock consensus methods

path flow from Begin/EndBlock to a panic call path flow from Begin/EndBlock to a panic call
@codecov
Copy link

codecov bot commented Mar 28, 2023

Codecov Report

Merging #1952 (06b4a55) into main (7f05ad4) will decrease coverage by 6.41%.
The diff coverage is 35.10%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1952      +/-   ##
==========================================
- Coverage   75.38%   68.98%   -6.41%     
==========================================
  Files         100      116      +16     
  Lines        8025     9453    +1428     
==========================================
+ Hits         6050     6521     +471     
- Misses       1589     2449     +860     
- Partials      386      483      +97     
Impacted Files Coverage Δ
x/incentive/codec.go 47.82% <ø> (+9.89%) ⬆️
x/incentive/keeper/grpc_query.go 0.00% <0.00%> (ø)
x/incentive/keeper/hooks.go 0.00% <0.00%> (ø)
x/incentive/keeper/invariants.go 0.00% <0.00%> (ø)
x/leverage/keeper/incentive.go 0.00% <0.00%> (ø)
x/oracle/keeper/hooks.go 95.65% <ø> (ø)
x/incentive/keeper/genesis.go 1.61% <1.61%> (ø)
x/incentive/genesis.go 10.32% <3.70%> (-3.01%) ⬇️
x/incentive/keeper/iter.go 20.14% <7.76%> (ø)
util/store/store.go 35.04% <11.76%> (-6.38%) ⬇️
... and 19 more

... and 1 file with indirect coverage changes

@toteki toteki marked this pull request as ready for review April 3, 2023 15:10
@toteki toteki requested review from a team as code owners April 3, 2023 15:10
Copy link
Member

@robert-zaremba robert-zaremba left a comment

Choose a reason for hiding this comment

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

Pre - approving. Most of the issues were solved or moved to tasks. TODO, before merging:

@toteki
Copy link
Member Author

toteki commented Apr 25, 2023

Max unbondings is already described in spec - I have added a note in proto docs about it as well.

@toteki
Copy link
Member Author

toteki commented Apr 25, 2023

e2e passed - I'm merging

@toteki toteki added this pull request to the merge queue Apr 25, 2023
Merged via the queue into main with commit 81b86b1 Apr 25, 2023
@toteki toteki deleted the adam/incentive-finish branch April 25, 2023 15:00
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.

incentive module TODO tracker
2 participants