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

Adds new 2wp file starting with one pegin test checking event #87

Merged
merged 10 commits into from
Sep 25, 2024

Conversation

jeremy-then
Copy link
Contributor

@jeremy-then jeremy-then commented Sep 17, 2024

This pr creates a new lib/tests/2wp.js file, with one initial pegin test, the most basic pegin.
This test checks the initial federation and sender address balances to compare them with the expected final balances.
This test also checks that the pegin_btc event is emitted with the expected values.
Asserts that the Bridge own balance and the Bridge utxos sum is as expected.

@jeremy-then jeremy-then self-assigned this Sep 17, 2024
@jeremy-then jeremy-then requested a review from a team as a code owner September 17, 2024 15:25
Base automatically changed from rename-2wp-file to rits-refactors-9-2024-integration September 17, 2024 15:40
Copy link

sonarcloud bot commented Sep 25, 2024

}
};

const PEGIN_EVENTS = {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not for now, but I would consider splitting this file before it grows too much. 2wpConstants, BrideEvents, FedChangeConstants, etc

@marcos-iov marcos-iov merged commit ecbcc51 into rits-refactors-9-2024-integration Sep 25, 2024
5 checks passed
@marcos-iov marcos-iov deleted the create-new-2wp-file branch September 25, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants