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

Refactors federation and bridge balances checks and pegin btc event. #101

Conversation

jeremy-then
Copy link
Contributor

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

Takes the assertions of the federation and bridge balances to an utility function assert2wpBalancesAfterSuccessfulPegin to reuse it and reduce complexity.
Takes the assertion of the expected pegin btc to an utility function assertExpectedPeginBtcEventIsEmitted.
Left these functions in the 2wp.js file since they make sense here and all pegins tests will be here.
Also adds a new get2wpBalances function in 2wp-utils.js file, to get the federation, bridge utxos and bridge rsk balances.

@jeremy-then jeremy-then self-assigned this Sep 26, 2024
@jeremy-then jeremy-then requested a review from a team as a code owner September 26, 2024 00:04
Copy link

@marcos-iov marcos-iov merged commit a7a0fd4 into rits-refactors-9-2024-integration Sep 26, 2024
4 checks passed
@marcos-iov marcos-iov deleted the refactor-federation-and-bridge-balances-check branch September 26, 2024 16:06
@bcodesido bcodesido mentioned this pull request Oct 10, 2024
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