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

ci: add deposit validation integration tests #367

Merged
merged 7 commits into from
Jul 30, 2024
Merged

Conversation

djordon
Copy link
Collaborator

@djordon djordon commented Jul 30, 2024

Description

This is a follow-up to #364 with integration tests and a slight refactor of testing stuff.

Changes

  • Move the integration test helper functions to the sbtc::testing module so that both the signer and the sbtc crates can use them.
  • Move other testing functions to the sbtc::testing module.
  • Add electrs to the test services run in CI.
  • Add integration tests that exercise the functionality added in feat: extract deposit request transactions #364.

Testing information

This PR adds the electrs service to CI, but uses a different one from the one in devnet. The devnet one builds off of mempool/electrs, but this one uses the getumbrel/electrs container from docker hub, which builds off of romanz/electrs. I'll reconcile them eventually.

@djordon djordon added the transaction library Common library for handling transaction manipulation. label Jul 30, 2024
@djordon djordon removed the request for review from hstove July 30, 2024 18:08
@djordon djordon force-pushed the 363-extract-deposit-request-transactions branch from 974719c to d5decfb Compare July 30, 2024 18:10
@djordon djordon force-pushed the 363-integration-tests branch from 35dd3e4 to 2724805 Compare July 30, 2024 18:15
Base automatically changed from 363-extract-deposit-request-transactions to main July 30, 2024 20:34
@djordon djordon force-pushed the 363-integration-tests branch from 2724805 to 91a1236 Compare July 30, 2024 20:37
@djordon djordon merged commit 78bbbc4 into main Jul 30, 2024
4 checks passed
@djordon djordon deleted the 363-integration-tests branch July 30, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
transaction library Common library for handling transaction manipulation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants