Skip to content

Add CanonicalTerm, fix duplicate keys handling in map generator/validator#203

Open
Soupstraw wants to merge 5 commits into
masterfrom
jj/term-canonical-eq
Open

Add CanonicalTerm, fix duplicate keys handling in map generator/validator#203
Soupstraw wants to merge 5 commits into
masterfrom
jj/term-canonical-eq

Conversation

@Soupstraw
Copy link
Copy Markdown
Contributor

@Soupstraw Soupstraw commented May 25, 2026

This PR fixes issues with duplicate keys in maps. The validator now checks for duplicate keys in maps and generators will no longer produce duplicate keys. The CanonicalTerm type has been added to handle comparisons on CBOR data correctly.

@Soupstraw Soupstraw force-pushed the jj/term-canonical-eq branch from 18a0f37 to adc80cb Compare May 25, 2026 10:28
@Soupstraw Soupstraw changed the title Add CanonicalTerm, fix duplicate keys bug in map generator Add CanonicalTerm, fix duplicate keys handling in map generator/validator May 25, 2026
@Soupstraw Soupstraw force-pushed the jj/term-canonical-eq branch from 106adc3 to 3e6883d Compare May 25, 2026 11:14
@Soupstraw Soupstraw marked this pull request as draft May 25, 2026 11:18
@Soupstraw Soupstraw force-pushed the jj/term-canonical-eq branch 7 times, most recently from 0b921d2 to b0c8837 Compare May 25, 2026 13:13
@Soupstraw Soupstraw marked this pull request as ready for review May 25, 2026 13:17
@Soupstraw Soupstraw force-pushed the jj/term-canonical-eq branch from b0c8837 to 83c7b45 Compare May 25, 2026 13:19
@Soupstraw Soupstraw requested a review from lehins May 25, 2026 13:22
@Soupstraw Soupstraw force-pushed the jj/term-canonical-eq branch from 83c7b45 to a32826b Compare May 25, 2026 13:35
@Soupstraw Soupstraw force-pushed the jj/term-canonical-eq branch 3 times, most recently from 21c534a to 1c29f4c Compare May 25, 2026 14:10
@Soupstraw Soupstraw force-pushed the jj/term-canonical-eq branch from 1c29f4c to b8e0229 Compare May 26, 2026 10:07
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.

1 participant