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 basic apply/revert test coverage #191

Closed
7 tasks
ChrisSchinnerl opened this issue Aug 15, 2024 · 0 comments
Closed
7 tasks

Add basic apply/revert test coverage #191

ChrisSchinnerl opened this issue Aug 15, 2024 · 0 comments
Assignees

Comments

@ChrisSchinnerl
Copy link
Member

ChrisSchinnerl commented Aug 15, 2024

We need unit test coverage for applying/reverting transactions including the following types of transactions:

For both V1 and V2 transactions:

  • Txn with siacoin outputs
  • Txn with arbitrary data
  • Txn with attestation
  • Txn with contract
  • Txn with contract revision
  • Txn with storage proof
  • Txn with siafund outputs

The test(s) should apply the transaction, revert the transaction and then verify the state is the same as before.
These tests should serve as regression tests for some of the panics we have seen before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants