Skip to content

Test ChangeSet invariants #470

@ValuedMammal

Description

@ValuedMammal

Description

ChangeSet has three write-once fields — descriptor, change_descriptor, and network — that must never change after wallet creation. The Merge implementation enforces this with debug_assert!, which is of course compiled out in release builds, leaving potential gaps in test coverage.

Metadata

Metadata

Assignees

Labels

auditSuggested as result of external code audittestsNew or improved tests

Type

No type
No fields configured for issues without a type.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions