Skip to content

fix: correct Stellar address regex and add regression coverage - #1637

Open
Henrichy wants to merge 10 commits into
LabsCrypt:mainfrom
Henrichy:main
Open

fix: correct Stellar address regex and add regression coverage#1637
Henrichy wants to merge 10 commits into
LabsCrypt:mainfrom
Henrichy:main

Conversation

@Henrichy

Copy link
Copy Markdown

Closes #1011

@Henrichy

Copy link
Copy Markdown
Author

@ogazboiz please review this PR. Thank you

@Henrichy

Copy link
Copy Markdown
Author

@K1NGD4VID please review

Henrichy and others added 9 commits August 30, 2026 15:40
The loan_manager contract was referencing an undefined variable
late_fee_numerator when calculating the incremental late fee. This
calculation must compute the numerator from the remaining principal,
late fee rate, and overdue ledgers before passing to money::round_div.

Fixes compilation error E0425 and resolves CI failures in contracts,
backend, and CodeQL analysis.
Regenerated lock files to ensure npm ci works correctly in CI.
Removes mismatched dependencies (@emnapi packages) that were causing
npm ci to fail with 'Missing: @emnapi/core and @emnapi/runtime' errors.
The lock files had corrupted entries (@emnapi, json-schema-traverse)
causing npm ci to fail. Regenerated all three lock files by deleting
and running npm install to ensure they're properly in sync with their
respective package.json files.

This fixes the npm EUSAGE error 'can only install packages when your
package.json and package-lock.json or npm-shrinkwrap.json are in sync'.
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.

[Backend] Fix off-by-one regex in isValidStellarAddress that rejects valid 56-char addresses

1 participant