Skip to content

Add defensive checks for P-Chain State #4992

@joshua-kim

Description

@joshua-kim

P-Chain state is currently brittle and assumes perfect usage of the API. This issue is to add defensive checks against API misuse so that errors surface when running a bad tx to improve debuggability and make the invariants a part of the state public contract.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions