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

Add integration with Atomkraft for e2e testing #1065

Open
4 tasks
iramiller opened this issue Sep 13, 2022 · 5 comments
Open
4 tasks

Add integration with Atomkraft for e2e testing #1065

iramiller opened this issue Sep 13, 2022 · 5 comments
Labels
CI Continuous Integration and release process cosmos-sdk Issues/PRs related to our fork of the Cosmos-SDK enhancement New feature or request ibc inter-blockchain communication simulation Issues related to simulation testing
Milestone

Comments

@iramiller
Copy link
Member

Summary

Add end to end testing support for provenanced that uses the formal Cosmos SDK specifications to ensure compatibility with the base modules.

Problem Definition

Ensuring the provenanced releases are stable and fully compatible with the Cosmos SDK is currently done by running simulation tests. These tests are useful but not very comprehensive. A new project from Informal System aims to more fully assert the proper behavior of the system using test specifications written in TLA+.

Proposal

Create a testing environment with Atom Kraft that runs E2E Cosmos SDK/IBC tests against provenanced. Informal System also created several TLA+ specifications for the Marker and Metadata modules during their 2021 audit of Provenance blockchain code. These specification would be useful to add to the others for the Cosmos SDK as a way to further assert the proper behavior of the system.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@iramiller iramiller added enhancement New feature or request CI Continuous Integration and release process simulation Issues related to simulation testing ibc inter-blockchain communication cosmos-sdk Issues/PRs related to our fork of the Cosmos-SDK labels Sep 13, 2022
@iramiller iramiller added this to the backlog milestone Sep 19, 2022
@iramiller
Copy link
Member Author

marker-tests-audit.zip

These are the generated tests from when Informal created TLA+ tests for the marker module...

@iramiller
Copy link
Member Author

There are also E2E tests for IBC-GO which are worth looking into. https://github.com/cosmos/ibc-go/tree/main/e2e

@llama-del-rey
Copy link
Contributor

@iramiller kinda stuck here. The setup doesn't go beyond initial setup. I have created an issue with atomkraft but not sure how to proceed

@llama-del-rey
Copy link
Contributor

llama-del-rey commented Nov 10, 2022

There is a transitive dependency on python-hdwallet. I believe this is required for a permanent fix: talonlab/python-hdwallet#71

@llama-del-rey
Copy link
Contributor

Create a new repo for init setup: https://github.com/provenance-io/provenance-e2e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration and release process cosmos-sdk Issues/PRs related to our fork of the Cosmos-SDK enhancement New feature or request ibc inter-blockchain communication simulation Issues related to simulation testing
Projects
Development

No branches or pull requests

3 participants