-
Notifications
You must be signed in to change notification settings - Fork 48
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
Application links tests #484
Conversation
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Co-authored-by: Leonardo Bragagnolo <leo.braga95@gmail.com>
Co-authored-by: Leonardo Bragagnolo <leo.braga95@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
…iccardo/app-links-logic
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
…mos into riccardo/app-links-tests � Conflicts: � x/profiles/types/models_app_links.go
Codecov Report
@@ Coverage Diff @@
## master #484 +/- ##
==========================================
- Coverage 84.21% 83.64% -0.57%
==========================================
Files 87 90 +3
Lines 3933 4372 +439
==========================================
+ Hits 3312 3657 +345
- Misses 478 556 +78
- Partials 143 159 +16
Continue to review full report at Codecov.
|
Co-authored-by: Paul <p22626262@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
…iccardo/app-links-logic
…mos into riccardo/app-links-tests � Conflicts: � x/profiles/types/msgs_app_links.go
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
…mos into riccardo/app-links-tests
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
…to riccardo/app-links-tests � Conflicts: � x/profiles/client/cli/cli_app_links.go � x/profiles/keeper/keeper_app_links.go � x/profiles/keeper/relay_app_links_test.go � x/profiles/module_ibc.go � x/profiles/types/genesis_test.go � x/profiles/types/models_app_links.go � x/profiles/types/msgs_app_links.go
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
…les directly Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
"github.com/desmos-labs/desmos/x/profiles/client/cli" | ||
"github.com/desmos-labs/desmos/x/profiles/types" | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The GetCmdLinkApplication
tests are missing here 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I know, unfortunately this is not an easy method to test. What we would have to do is:
- Instantiate a fake Band chain
- Create an IBC connection between the Desmos and Band chain
- Use that fake connection to send the packet using this command
Since this is very complicated, I think it's better to leave as it is without any test right now. I will take care of opening an issue and explaining what should be done once the PR gets merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh ok no problem!
…app-links � Conflicts: � proto/desmos/profiles/v1beta1/genesis.proto � x/profiles/client/cli/cli_chain_links.go � x/profiles/client/cli/query.go � x/profiles/keeper/alias_functions.go � x/profiles/keeper/genesis.go � x/profiles/keeper/genesis_test.go � x/profiles/keeper/keeper.go � x/profiles/types/genesis.go � x/profiles/types/genesis.pb.go � x/profiles/types/genesis_test.go � x/profiles/types/keys.go � x/profiles/types/query.pb.go � x/profiles/types/query.pb.gw.go
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
…to riccardo/app-links-tests � Conflicts: � proto/desmos/profiles/v1beta1/genesis.proto � x/profiles/client/cli/query.go � x/profiles/keeper/genesis.go � x/profiles/keeper/genesis_test.go � x/profiles/keeper/grpc_query_test.go � x/profiles/keeper/keeper_chain_links_test.go � x/profiles/keeper/msg_server_chain_link_test.go � x/profiles/types/genesis.go � x/profiles/types/genesis.pb.go � x/profiles/types/genesis_test.go � x/profiles/types/keys.go
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
…app-links-tests � Conflicts: � x/profiles/keeper/querier_test.go
@bragaz Can I merge this? What do you think? |
@RiccardoM Yes it's good! Go ahead 👍 |
Description
This PR introduces tests for the new application links feature.
Works towards #472
Checklist
CHANGELOG.md
file.Files changed
in the Github PR explorer.