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

Missing unit tests for ibc-rs module verification #24

Closed
1 of 6 tasks
Tracked by #554
hu55a1n1 opened this issue Dec 21, 2021 · 4 comments
Closed
1 of 6 tasks
Tracked by #554

Missing unit tests for ibc-rs module verification #24

hu55a1n1 opened this issue Dec 21, 2021 · 4 comments
Labels
O: testing Objective: aims to improve testing coverage

Comments

@hu55a1n1
Copy link
Contributor

hu55a1n1 commented Dec 21, 2021

Crate

ibc

Summary

We currently don't have unit tests for verification methods. While the ics23 crate functions are tested (in that crate), we still need tests for our wrappers, conversions, etc.

Acceptance Criteria


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@Wizdave97
Copy link

Wizdave97 commented Feb 8, 2022

@hu55a1n1 would love to pick this up soon, could you please help flesh out the acceptance criteria and tests required?

@hu55a1n1
Copy link
Contributor Author

hu55a1n1 commented Feb 9, 2022

@Wizdave97 I opened this issue as a placeholder just to remind us to implement unit tests similar to the ones in ibc-go. Here are some tests that I had in mind ->

We already have some tests for Tendermint ClientState which should give you a head start, for eg. the tests here (https://github.com/informalsystems/ibc-rs/blob/master/modules/src/clients/ics07_tendermint/client_state.rs#L361) are similar to the ibc-go tests here (https://github.com/cosmos/ibc-go/blob/main/modules/light-clients/07-tendermint/types/client_state_test.go#L74). Note that some of these tests use ibc-go's testing framework, so we can ignore them for now.

@Wizdave97
Copy link

https://github.com/cosmos/ibc-go/blob/main/modules/light-clients/07-tendermint/types/client_state_test.go#L74

Thanks I'll work on them

@hu55a1n1 hu55a1n1 transferred this issue from informalsystems/hermes Sep 28, 2022
@plafer plafer added the O: testing Objective: aims to improve testing coverage label Nov 14, 2022
@github-project-automation github-project-automation bot moved this to 📥 To Do in ibc-rs Feb 2, 2023
@rnbguy
Copy link
Collaborator

rnbguy commented Apr 8, 2024

The issue of the acceptance criteria is closed. Does that make this issue finished too?

@github-project-automation github-project-automation bot moved this from 📥 To Do to ✅ Done in ibc-rs Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O: testing Objective: aims to improve testing coverage
Projects
Status: Done
Development

No branches or pull requests

5 participants