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

fix!: condition that makes redelegation happen on unbonding epoch. #685

Merged
merged 5 commits into from
Dec 3, 2023

Conversation

puneet2019
Copy link
Member

  • run redelegation every epoch other than unbonding instead of every epoch but unbonding
  • add extra logs

@puneet2019 puneet2019 requested a review from a team as a code owner December 1, 2023 11:42

This comment has been minimized.

@puneet2019 puneet2019 requested a review from xlab December 1, 2023 11:43
Copy link

github-actions bot commented Dec 1, 2023

Coverage after merging puneet/fix-redelegation-epoch into main

70.38%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
x/liquidstakeibc
   module.go100%100%54.76%..., 72, 73, 74, 99
   genesis.go100%100%100%
   module_ibc.go100%100%8.93%..., 88, 89, 90, 91
x/liquidstakeibc/keeper
   redelegation_txs.go100%100%100%
   delegation_strategy.go100%100%100%
   icq_queries.go100%100%100%
   abci.go100%100%80.94%..., 85, 86, 87, 88
   unbonding.go100%100%100%
   grpc_querier.go100%100%100%
   deposit.go100%100%100%
   migrations.go100%100%33.33%..., 23, 26, 27, 28
   ibc.go100%100%23.74%..., 91, 92, 93, 94
   ica_handlers.go100%100%29.18%..., 96, 97, 98, 99
   hooks.go100%100%44.13%..., 872, 873, 907, 908
   icq.go100%100%94.70%..., 175, 39, 40, 41
   keeper.go100%100%99.15%90, 91
   rebalance.go100%100%91.21%..., 115, 116, 77, 80
   user_unbonding.go100%100%100%
   lsm_deposit.go100%100%100%
   redelegation.go100%100%100%
   host_chain.go100%100%99.64%129
   msg_server.go100%100%60.24%..., 946, 95, 96, 97
   ica.go100%100%65.57%..., 71, 72, 73, 74
   invariants.go100%100%100%
   validator_unbonding.go100%100%100%
x/liquidstakeibc/types
   host_chain.go100%100%100%
   keys.go100%100%0%..., 95, 97, 98, 99
   msgs.go100%100%91.45%..., 352, 353, 456, 457
   genesis.go100%100%100%
   liquidstakeibc.go100%100%100%
   params.go100%100%100%
   codec.go100%100%100%

@puneet2019 puneet2019 merged commit 5a47b59 into main Dec 3, 2023
9 checks passed
@puneet2019 puneet2019 deleted the puneet/fix-redelegation-epoch branch December 3, 2023 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants