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

keeper tests, not complete. #576

Merged
merged 2 commits into from
Jul 12, 2023
Merged

keeper tests, not complete. #576

merged 2 commits into from
Jul 12, 2023

Conversation

puneet2019
Copy link
Member

No description provided.

@puneet2019 puneet2019 requested a review from kruspy July 12, 2023 13:21
@github-actions
Copy link

Coverage after merging puneet/keeper-partial-tests into main

49.51%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
x/liquidstakeibc
   module.go100%100%54.05%..., 72, 73, 74, 99
   module_ibc.go100%100%9.80%..., 86, 87, 88, 89
   genesis.go100%100%100%
x/liquidstakeibc/keeper
   invariants.go100%100%78.95%23, 24, 27, 28
   host_chain.go100%100%100%
   validator_unbonding.go100%100%100%
   ibc.go100%100%18.78%..., 95, 96, 97, 98
   unbonding.go100%100%100%
   ica_handlers.go100%100%0%..., 94, 95, 98, 99
   msg_server.go100%100%0.55%..., 96, 97, 98, 99
   hooks.go100%100%14.55%..., 674, 72, 73, 74
   keeper.go100%100%69.30%..., 331, 332, 87, 88
   ica.go100%100%60.66%..., 71, 72, 73, 74
   deposit.go100%100%100%
   abci.go100%100%3.74%..., 96, 97, 98, 99
   grpc_querier.go100%100%100%
   icq.go100%100%16.39%..., 96, 97, 98, 99
   user_unbonding.go100%100%100%
   delegation_strategy.go100%100%100%
   icq_queries.go100%100%46.91%..., 47, 48, 77, 78
x/liquidstakeibc/types
   liquidstakeibc.go100%100%100%
   host_chain.go100%100%100%
   genesis.go100%100%100%
   codec.go100%100%100%
   keys.go100%100%0%..., 83, 85, 86, 87
   msgs.go100%100%100%
   params.go100%100%100%
x/lscosmos
   module_ibc.go100%100%0%..., 85, 93, 94, 95
   genesis.go100%100%77.42%..., 29, 30, 32, 33
   module.go100%100%63.38%..., 87, 90, 91, 92
   module_simulation.go100%100%5.56%..., 46, 47, 48, 49
x/lscosmos/client/utils
   utils.go100%100%41.33%..., 94, 95, 96, 98
x/lscosmos/keeper
   host_chain_params.go100%100%100%
   host_chain_reward_address.go100%100%100%
   msg_server.go100%100%11.11%..., 54, 57, 58, 59
   module_state.go100%100%100%
   hooks.go100%100%1.33%..., 91, 92, 93, 96
   delegation_state.go100%100%40.28%..., 89, 90, 91, 94
   unbonding_epoch_c_value.go100%100%0%..., 55, 56, 57, 9
   grpc_query_params.go100%100%0%10, 11, 12
   handshake.go100%100%0%..., 96, 97, 98, 99
   icq_callbacks.go100%100%0%..., 67, 70, 71, 72
   keeper.go100%100%50%..., 96, 97, 98, 99
   invariants.go100%100%42.11%..., 30, 31, 32, 33
   host_accounts.go100%100%33.33%..., 20, 21, 22, 23
   transient_store.go100%100%68.75%..., 74, 75, 76, 78
   abci.go100%100%1.61%..., 88, 89, 90, 92
   genesis.go100%100%0%..., 21, 22, 8, 9
   governance_proposal.go100%100%0%..., 19, 20, 21, 9
   grpc_query.go100%100%0%..., 93, 96, 97, 98
   params.go100%100%100%
   delegator_unbonding_epoch_entry.go100%100%72.88%..., 72, 73, 74, 76
   migrate_module.go100%100%0%..., 95, 96, 97, 98
   c_value.go100%100%93.33%31, 32, 41, 42
   delegation_strategy.go100%100%57.78%..., 89, 91, 98, 99
   allowlisted_validators.go100%100%100%
   ica_txs.go100%100%0%..., 89, 90, 91, 92
x/lscosmos/types
   codec.go100%100%46.15%..., 46, 47, 48, 49
   keys.go100%100%0%..., 133, 137, 138, 139
   msgs.go100%100%11.66%..., 96, 97, 98, 99
   delegation_strategy.go100%100%80.72%..., 125, 126, 127, 66
   governance_proposal.go100%100%82.98%..., 59, 60, 61, 64
   lscosmos.go100%100%16.99%..., 94, 95, 96, 99
   params.go100%100%47.37%..., 36, 37, 38, 39
   genesis.go100%100%87.10%29, 30, 31, 32
x/lspersistence/keeper
   rebalancing.go100%100%92.96%..., 45, 46, 75, 76
   genesis.go100%100%86.96%14, 22, 31
   invariants.go100%100%74.39%..., 56, 58, 59, 60
   keeper.go100%100%82.86%..., 62, 76, 77, 83
   liquidstaking.go100%100%88.12%..., 54, 55, 84, 85
   test_common.go100%100%0%..., 30, 31, 32, 33
   grpc_query.go100%100%100%
x/lspersistence/simulation
   operations.go100%100%75.65%..., 93, 94, 97, 98
   proposals.go100%100%96.30%129, 130, 131
   decoder.go100%100%100%
x/lspersistence/types
   keys.go100%100%100%
   genesis.go100%100%100%
   msgs.go100%100%89.89%..., 57, 65, 93, 94
   params.go100%100%75%..., 86, 87, 98, 99
   liquidstaking.go100%100%93.57%..., 62, 63, 71, 78
   rebalancing.go100%100%84%22, 23, 38, 39
   codec.go100%100%100%

@puneet2019 puneet2019 merged commit 031baa2 into main Jul 12, 2023
2 of 4 checks passed
@puneet2019 puneet2019 deleted the puneet/keeper-partial-tests branch July 12, 2023 13:35
@github-actions
Copy link

Coverage after merging puneet/keeper-partial-tests into main

49.51%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
x/liquidstakeibc
   genesis.go100%100%100%
   module_ibc.go100%100%9.80%..., 86, 87, 88, 89
   module.go100%100%54.05%..., 72, 73, 74, 99
x/liquidstakeibc/keeper
   invariants.go100%100%78.95%23, 24, 27, 28
   hooks.go100%100%14.55%..., 674, 72, 73, 74
   keeper.go100%100%69.30%..., 331, 332, 87, 88
   grpc_querier.go100%100%100%
   msg_server.go100%100%0.55%..., 96, 97, 98, 99
   user_unbonding.go100%100%100%
   icq_queries.go100%100%46.91%..., 47, 48, 77, 78
   ibc.go100%100%18.78%..., 95, 96, 97, 98
   ica_handlers.go100%100%0%..., 94, 95, 98, 99
   abci.go100%100%3.74%..., 96, 97, 98, 99
   host_chain.go100%100%100%
   validator_unbonding.go100%100%100%
   delegation_strategy.go100%100%100%
   ica.go100%100%60.66%..., 71, 72, 73, 74
   unbonding.go100%100%100%
   deposit.go100%100%100%
   icq.go100%100%16.39%..., 96, 97, 98, 99
x/liquidstakeibc/types
   keys.go100%100%0%..., 83, 85, 86, 87
   params.go100%100%100%
   host_chain.go100%100%100%
   genesis.go100%100%100%
   liquidstakeibc.go100%100%100%
   msgs.go100%100%100%
   codec.go100%100%100%
x/lscosmos
   module.go100%100%63.38%..., 87, 90, 91, 92
   genesis.go100%100%77.42%..., 29, 30, 32, 33
   module_simulation.go100%100%5.56%..., 46, 47, 48, 49
   module_ibc.go100%100%0%..., 85, 93, 94, 95
x/lscosmos/client/utils
   utils.go100%100%41.33%..., 94, 95, 96, 98
x/lscosmos/keeper
   genesis.go100%100%0%..., 21, 22, 8, 9
   transient_store.go100%100%68.75%..., 74, 75, 76, 78
   migrate_module.go100%100%0%..., 95, 96, 97, 98
   delegation_strategy.go100%100%57.78%..., 89, 91, 98, 99
   host_accounts.go100%100%33.33%..., 20, 21, 22, 23
   host_chain_params.go100%100%100%
   c_value.go100%100%93.33%31, 32, 41, 42
   delegator_unbonding_epoch_entry.go100%100%72.88%..., 72, 73, 74, 76
   icq_callbacks.go100%100%0%..., 67, 70, 71, 72
   params.go100%100%100%
   hooks.go100%100%1.33%..., 91, 92, 93, 96
   ica_txs.go100%100%0%..., 89, 90, 91, 92
   allowlisted_validators.go100%100%100%
   module_state.go100%100%100%
   grpc_query.go100%100%0%..., 93, 96, 97, 98
   keeper.go100%100%50%..., 96, 97, 98, 99
   invariants.go100%100%42.11%..., 30, 31, 32, 33
   grpc_query_params.go100%100%0%10, 11, 12
   abci.go100%100%1.61%..., 88, 89, 90, 92
   handshake.go100%100%0%..., 96, 97, 98, 99
   host_chain_reward_address.go100%100%100%
   msg_server.go100%100%11.11%..., 54, 57, 58, 59
   unbonding_epoch_c_value.go100%100%0%..., 55, 56, 57, 9
   governance_proposal.go100%100%0%..., 19, 20, 21, 9
   delegation_state.go100%100%40.28%..., 89, 90, 91, 94
x/lscosmos/types
   keys.go100%100%0%..., 133, 137, 138, 139
   params.go100%100%47.37%..., 36, 37, 38, 39
   governance_proposal.go100%100%82.98%..., 59, 60, 61, 64
   delegation_strategy.go100%100%80.72%..., 125, 126, 127, 66
   genesis.go100%100%87.10%29, 30, 31, 32
   lscosmos.go100%100%16.99%..., 94, 95, 96, 99
   msgs.go100%100%11.66%..., 96, 97, 98, 99
   codec.go100%100%46.15%..., 46, 47, 48, 49
x/lspersistence/keeper
   test_common.go100%100%0%..., 30, 31, 32, 33
   grpc_query.go100%100%100%
   rebalancing.go100%100%92.96%..., 45, 46, 75, 76
   keeper.go100%100%82.86%..., 62, 76, 77, 83
   invariants.go100%100%74.39%..., 56, 58, 59, 60
   liquidstaking.go100%100%88.12%..., 54, 55, 84, 85
   genesis.go100%100%86.96%14, 22, 31
x/lspersistence/simulation
   operations.go100%100%75.65%..., 93, 94, 97, 98
   decoder.go100%100%100%
   proposals.go100%100%96.30%129, 130, 131
x/lspersistence/types
   rebalancing.go100%100%84%22, 23, 38, 39
   msgs.go100%100%89.89%..., 57, 65, 93, 94
   liquidstaking.go100%100%93.57%..., 62, 63, 71, 78
   keys.go100%100%100%
   genesis.go100%100%100%
   codec.go100%100%100%
   params.go100%100%75%..., 86, 87, 98, 99

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.

2 participants