Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Add ExtendedInteger types #224

Closed
wants to merge 3 commits into from
Closed

Conversation

willemolding
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Adds ExtendedU32 and ExtendedU64 types with custom deserialization
  • Uses these in conversion from serialization types

Reference issue to close (if applicable)

Closes #206

Other information and links

@willemolding willemolding changed the title Willem/extended integers Add ExtendedInteger types May 4, 2022
// #[test]
// /// Test both From impls to convert between the serialization/wire-type of a block and the internal representation
// /// The conversion must be lossless!
// fn roundtrip_serialization_types() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this test disabled?

@willemolding willemolding added the Do not merge Status: Do not merge Added to PRs that are not allowed to be merged label May 5, 2022
@willemolding willemolding marked this pull request as draft May 5, 2022 04:34
@willemolding
Copy link
Contributor Author

Since all the underlying serialization code has changed this PR is no longer relevent

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Do not merge Status: Do not merge Added to PRs that are not allowed to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[M1] Implement Nat.UInt32 correctly
2 participants