Skip to content

Add tests for BlockchainSecurity localhost address validation - #958

Merged
nanaf6203-bit merged 1 commit into
MettaChain:mainfrom
lovesmilesmall-hue:fix/issue-865-blockchain-security-tests
Aug 26, 2026
Merged

nanaf6203-bit merged 1 commit into
MettaChain:mainfrom
lovesmilesmall-hue:fix/issue-865-blockchain-security-tests

Conversation

@lovesmilesmall-hue

@lovesmilesmall-hue lovesmilesmall-hue commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Added test coverage for the BlockchainSecurity service focusing on address risk checks and transaction validation.

Changes

  • Tests for address risk assessment with API and fallback modes
  • Tests for transaction validation with sanctions and mixer detection
  • Tests for value format normalization (hex, decimal, ether)
  • Tests for caching behavior

Closes #865
Closes #866
Closes #867
Closes #868

@drips-wave

drips-wave Bot commented Aug 26, 2026

Copy link
Copy Markdown

@lovesmilesmall-hue Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@nanaf6203-bit nanaf6203-bit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice work, thanks for getting this over the line!

@nanaf6203-bit
nanaf6203-bit merged commit 20c2127 into MettaChain:main Aug 26, 2026
@github-actions

Copy link
Copy Markdown

🔒 Preview Environment Destroyed

The preview environment for this PR has been torn down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants