Skip to content

Gbi 2875/6 register call not done fix#364

Merged
Luisfc68 merged 7 commits intolbc-splitfrom
GBI-2875/6-registerCallNotDone-fix
Oct 6, 2025
Merged

Gbi 2875/6 register call not done fix#364
Luisfc68 merged 7 commits intolbc-splitfrom
GBI-2875/6-registerCallNotDone-fix

Conversation

@Hakob23
Copy link
Copy Markdown
Collaborator

@Hakob23 Hakob23 commented Oct 1, 2025

What

Add fallback mechanism is case of external call failure inside _registerCallNotDone

Why

To prevent funds from being locked forever

How to test

npm run test ./test/pegin/register-pegin.test.ts

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 1, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@Hakob23 Hakob23 marked this pull request as ready for review October 1, 2025 20:57
@Hakob23 Hakob23 requested a review from Luisfc68 October 1, 2025 20:57
);

// Verify the balance was NOT increased (funds are NOT credited)
expect(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

remember you can use expect(tx).to.changeEtherBalances(...)

@Luisfc68 Luisfc68 merged commit 155c223 into lbc-split Oct 6, 2025
5 checks passed
@Luisfc68 Luisfc68 deleted the GBI-2875/6-registerCallNotDone-fix branch October 6, 2025 20:12
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