Skip to content

Property-based tests for transfer decoder #73

@Miracle656

Description

@Miracle656

Background

Random fuzz of decoder inputs catches edge cases (zero, max-u128, negative i128 cast) that hand-written cases miss.

What to build

fast-check generators for arbitrary ScVal shapes; assert the decoder either returns a typed result or a typed error.

Key files

  • tests/decoder.property.test.ts (new)

Acceptance criteria

  • 10k inputs, no thrown errors
  • Known fixtures still parse

Drips Wave · Complexity: Intermediate · 150 points

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions