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

E2E Testing for On-Chain Data #1763

Closed
4 tasks done
bvrooman opened this issue Mar 18, 2024 · 1 comment
Closed
4 tasks done

E2E Testing for On-Chain Data #1763

bvrooman opened this issue Mar 18, 2024 · 1 comment

Comments

@bvrooman
Copy link
Contributor

bvrooman commented Mar 18, 2024

General test outline:

  1. Setup the resource data to a known state on the node
  2. Run regenesis on the node
  3. Query the node for the resource state
  4. Compare the resource state after regenesis to the known state
  5. If the states are equal, the tests pass; otherwise, the tests fail

Criteria:

Aftermath testing:

  • Test that all tables are consistent before and after regenesis via API calls
    • Blocks, contract balances, coins, messages
  • Process
    • Get the resource via API call
    • Perform regenesis
    • Get the resource via API call again
    • Compare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@bvrooman @MujkicA @segfault-magnet and others