Skip to content

Add unit tests for Address parsing with corrupted checksums #92

@Emrys02

Description

@Emrys02

Preventing malicious or accidental corrupted address strings from being accepted is critical for security and fault tolerance.

Implementation Guidelines

Key Files: crates/core/src/types/ (in the test module).

  • Provide dummy valid strkeys, mutate the last few validation characters, and assert that Address::from_string correctly yields an error.

Expectations

What done looks like: Tests explicitly pass only when invalid strkeys are correctly rejected.

For any question, reach me on Discord: emry_ss

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions