Skip to content

Conversation

@kaimast
Copy link
Collaborator

@kaimast kaimast commented Oct 9, 2025

This PR adds Header::from_byts_le_unchecked and Metadata::from_bytes_le_unchecked. These variants skip any validity checks for data. This is needed for snarkOS PR #3925.

All functionality changes of the PR are contained in the first commit. The second commit only adds tests.

The tests were changes to also tests testnet deserialization, and not just mainnet. Some tests are skipped when the test_targets features is disabled.

@kaimast kaimast force-pushed the feat/block-header-from-unchecked branch from d48915e to a305f71 Compare October 24, 2025 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants