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: Query host chain user unbondings #721

Merged
merged 6 commits into from
Jan 12, 2024
Merged

Conversation

kruspy
Copy link
Collaborator

@kruspy kruspy commented Jan 11, 2024

No description provided.

This comment has been minimized.

Copy link

Coverage after merging feat/query_user_unbondings into main

70.30%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
x/liquidstake/keeper
   genesis.go100%100%86.96%14, 23, 32
   liquidstake.go100%100%61.69%..., 91, 92, 98, 99
   rebalancing.go100%100%93.33%..., 45, 46, 81, 82
   keeper.go100%100%77.50%..., 92, 95, 96, 97
   grpc_query.go100%100%100%
x/liquidstake/types
   genesis.go100%100%100%
   rebalancing.go100%100%84%22, 23, 40, 41
   liquidstake.go100%100%93.57%..., 63, 64, 73, 81
   params.go100%100%83.19%..., 195, 196, 87, 88
   msgs.go100%100%40.58%..., 96, 97, 98, 99
   codec.go100%100%100%
   keys.go100%100%100%
x/liquidstakeibc
   module.go100%100%54.76%..., 72, 73, 74, 99
   module_ibc.go100%100%8.93%..., 88, 89, 90, 91
   genesis.go100%100%100%
x/liquidstakeibc/keeper
   redelegation_txs.go100%100%100%
   grpc_querier.go100%100%95.17%..., 311, 312, 320, 321
   ica.go100%100%65.57%..., 71, 72, 73, 74
   icq_queries.go100%100%80.20%..., 145, 146, 147, 148
   keeper.go100%100%96.80%..., 366, 374, 93, 94
   abci.go100%100%80.94%..., 85, 86, 87, 88
   msg_server.go100%100%59.89%..., 940, 941, 95, 96
   host_chain.go100%100%99.64%129
   lsm_deposit.go100%100%100%
   migrations.go100%100%33.33%..., 23, 26, 27, 28
   rebalance.go100%100%91.21%..., 115, 116, 77, 80
   icq.go100%100%75.90%..., 232, 42, 43, 44
   unbonding.go100%100%100%
   ibc.go100%100%23.64%..., 93, 94, 95, 96
   invariants.go100%100%100%
   delegation_strategy.go100%100%100%
   deposit.go100%100%100%
   validator_unbonding.go100%100%100%
   redelegation.go100%100%100%
   hooks.go100%100%42.18%..., 909, 910, 944, 945
   user_unbonding.go100%100%100%
   ica_handlers.go100%100%29.18%..., 96, 97, 98, 99
x/liquidstakeibc/types
   msgs.go100%100%89.53%..., 362, 363, 466, 467
   keys.go100%100%0%..., 95, 96, 98, 99
   liquidstakeibc.go100%100%97.81%17, 18, 19
   hooks.go100%100%0%..., 29, 30, 31, 34
   codec.go100%100%100%
   host_chain.go100%100%100%
   params.go100%100%100%
   genesis.go100%100%100%
x/ratesync
   module_ibc.go100%100%9.09%..., 96, 97, 98, 99
   genesis.go100%100%100%
   module_simulation.go100%100%0%..., 79, 80, 81, 82
   module.go100%100%64.06%..., 80, 83, 84, 85
x/ratesync/keeper
   keeper.go100%100%78.38%..., 80, 81, 88, 89
   chain.go100%100%100%
   abci.go100%100%95.83%38
   hooks.go100%100%87.76%..., 27, 28, 67, 68
   ibc.go100%100%67.30%..., 55, 67, 68, 69
   msg_server.go100%100%74.91%..., 63, 64, 65, 66
   query.go100%100%85.71%..., 40, 41, 48, 49
   params.go100%100%84.62%14, 15
   ica_tx.go100%100%72.03%..., 84, 85, 86, 87
x/ratesync/types
   keys.go100%100%100%
   types.go100%100%96.36%..., 128, 129, 28, 29
   params.go100%100%75%31, 32, 33, 34
   msgs.go100%100%67.94%..., 67, 80, 97, 98
   codec.go100%100%0%..., 27, 28, 29, 30
   genesis.go100%100%100%

Copy link

Coverage after merging feat/query_user_unbondings into main

70.06%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
x/liquidstake/keeper
   liquidstake.go100%100%61.69%..., 91, 92, 98, 99
   keeper.go100%100%77.50%..., 92, 95, 96, 97
   rebalancing.go100%100%93.33%..., 45, 46, 81, 82
   genesis.go100%100%86.96%14, 23, 32
   grpc_query.go100%100%100%
x/liquidstake/types
   codec.go100%100%100%
   genesis.go100%100%100%
   keys.go100%100%100%
   rebalancing.go100%100%84%22, 23, 40, 41
   msgs.go100%100%40.58%..., 96, 97, 98, 99
   liquidstake.go100%100%93.57%..., 63, 64, 73, 81
   params.go100%100%83.19%..., 195, 196, 87, 88
x/liquidstakeibc
   genesis.go100%100%100%
   module_ibc.go100%100%8.93%..., 88, 89, 90, 91
   module.go100%100%54.76%..., 72, 73, 74, 99
x/liquidstakeibc/keeper
   lsm_deposit.go100%100%100%
   delegation_strategy.go100%100%100%
   redelegation_txs.go100%100%100%
   migrations.go100%100%33.33%..., 23, 26, 27, 28
   user_unbonding.go100%100%100%
   grpc_querier.go100%100%95.17%..., 311, 312, 320, 321
   redelegation.go100%100%100%
   icq_queries.go100%100%80.20%..., 145, 146, 147, 148
   keeper.go100%100%96.80%..., 366, 374, 93, 94
   validator_unbonding.go100%100%100%
   host_chain.go100%100%99.64%129
   invariants.go100%100%100%
   deposit.go100%100%100%
   hooks.go100%100%42.18%..., 909, 910, 944, 945
   ica_handlers.go100%100%29.18%..., 96, 97, 98, 99
   ibc.go100%100%23.64%..., 93, 94, 95, 96
   ica.go100%100%65.57%..., 71, 72, 73, 74
   icq.go100%100%75.90%..., 232, 42, 43, 44
   unbonding.go100%100%100%
   abci.go100%100%74.01%..., 85, 86, 87, 88
   msg_server.go100%100%59.89%..., 940, 941, 95, 96
   rebalance.go100%100%91.21%..., 115, 116, 77, 80
x/liquidstakeibc/types
   hooks.go100%100%0%..., 29, 30, 31, 34
   genesis.go100%100%100%
   host_chain.go100%100%100%
   params.go100%100%100%
   msgs.go100%100%89.53%..., 362, 363, 466, 467
   keys.go100%100%0%..., 95, 96, 98, 99
   liquidstakeibc.go100%100%97.81%17, 18, 19
   codec.go100%100%100%
x/ratesync
   module_simulation.go100%100%0%..., 79, 80, 81, 82
   module_ibc.go100%100%9.09%..., 96, 97, 98, 99
   module.go100%100%64.06%..., 80, 83, 84, 85
   genesis.go100%100%100%
x/ratesync/keeper
   params.go100%100%84.62%14, 15
   abci.go100%100%95.83%38
   ibc.go100%100%67.30%..., 55, 67, 68, 69
   msg_server.go100%100%74.91%..., 63, 64, 65, 66
   ica_tx.go100%100%72.03%..., 84, 85, 86, 87
   chain.go100%100%100%
   keeper.go100%100%78.38%..., 80, 81, 88, 89
   hooks.go100%100%87.76%..., 27, 28, 67, 68
   query.go100%100%85.71%..., 40, 41, 48, 49
x/ratesync/types
   types.go100%100%96.36%..., 128, 129, 28, 29
   keys.go100%100%100%
   codec.go100%100%0%..., 27, 28, 29, 30
   genesis.go100%100%100%
   msgs.go100%100%67.94%..., 67, 80, 97, 98
   params.go100%100%75%31, 32, 33, 34

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link

Coverage after merging feat/query_user_unbondings into main

70.05%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
x/liquidstake/keeper
   keeper.go100%100%77.50%..., 92, 95, 96, 97
   liquidstake.go100%100%61.61%..., 647, 92, 93, 99
   rebalancing.go100%100%93.33%..., 45, 46, 81, 82
   genesis.go100%100%86.96%14, 23, 32
   grpc_query.go100%100%100%
x/liquidstake/types
   genesis.go100%100%100%
   params.go100%100%83.19%..., 195, 196, 87, 88
   rebalancing.go100%100%84%22, 23, 40, 41
   msgs.go100%100%40.58%..., 96, 97, 98, 99
   codec.go100%100%100%
   keys.go100%100%100%
   liquidstake.go100%100%93.57%..., 63, 64, 73, 81
x/liquidstakeibc
   genesis.go100%100%100%
   module_ibc.go100%100%8.93%..., 88, 89, 90, 91
   module.go100%100%56.10%..., 96, 97, 98, 99
x/liquidstakeibc/keeper
   icq_queries.go100%100%80%..., 144, 145, 146, 147
   keeper.go100%100%96.80%..., 366, 374, 93, 94
   migrations.go100%100%33.33%..., 23, 26, 27, 28
   msg_server.go100%100%60.05%..., 943, 944, 95, 96
   ibc.go100%100%23.64%..., 93, 94, 95, 96
   validator_unbonding.go100%100%100%
   unbonding.go100%100%100%
   grpc_querier.go100%100%95.17%..., 311, 312, 320, 321
   hooks.go100%100%42.18%..., 909, 910, 944, 945
   lsm_deposit.go100%100%100%
   deposit.go100%100%100%
   ica.go100%100%65%..., 70, 71, 72, 73
   redelegation_txs.go100%100%100%
   abci.go100%100%73.93%..., 83, 84, 85, 86
   icq.go100%100%75.90%..., 233, 43, 44, 45
   delegation_strategy.go100%100%100%
   host_chain.go100%100%99.64%129
   redelegation.go100%100%100%
   user_unbonding.go100%100%100%
   ica_handlers.go100%100%29.18%..., 96, 97, 98, 99
   rebalance.go100%100%91.21%..., 115, 116, 77, 80
   invariants.go100%100%100%
x/liquidstakeibc/types
   keys.go100%100%0%..., 95, 96, 98, 99
   params.go100%100%100%
   host_chain.go100%100%100%
   codec.go100%100%100%
   genesis.go100%100%100%
   liquidstakeibc.go100%100%97.81%17, 18, 19
   hooks.go100%100%0%..., 29, 30, 31, 34
   msgs.go100%100%89.53%..., 362, 363, 464, 465
x/ratesync
   module_ibc.go100%100%9.09%..., 96, 97, 98, 99
   genesis.go100%100%100%
   module.go100%100%64.06%..., 80, 83, 84, 85
   module_simulation.go100%100%0%..., 79, 80, 81, 82
x/ratesync/keeper
   ica_tx.go100%100%71.53%..., 83, 84, 85, 86
   abci.go100%100%95.65%36
   msg_server.go100%100%74.91%..., 63, 64, 65, 66
   ibc.go100%100%67.09%..., 55, 67, 68, 69
   keeper.go100%100%78.38%..., 80, 81, 88, 89
   hooks.go100%100%87.76%..., 27, 28, 68, 69
   params.go100%100%84.62%14, 15
   query.go100%100%85.71%..., 40, 41, 47, 48
   chain.go100%100%100%
x/ratesync/types
   params.go100%100%75%31, 32, 33, 34
   codec.go100%100%0%..., 26, 27, 28, 29
   msgs.go100%100%67.94%..., 66, 79, 96, 97
   genesis.go100%100%100%
   types.go100%100%96.36%..., 128, 129, 28, 29
   keys.go100%100%100%

@kruspy kruspy merged commit 5e9a36a into main Jan 12, 2024
10 of 12 checks passed
@kruspy kruspy deleted the feat/query_user_unbondings branch January 12, 2024 12:31
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.

2 participants