Skip to content

Conversation

dannywillems
Copy link
Member

@dannywillems dannywillems commented Sep 2, 2025

It is useful for checking regression in the PR #1367.

The tests have been generated by Claude. You can run them using cargo test -p poseidon.

assert_eq!(item_zeros.as_bigint(), 0);

// Test with all ones (max 48-bit value)
let item_max = Item::U48([0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]);
Copy link
Member Author

Choose a reason for hiding this comment

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

This is mostly for these tests, i.e. u48.
These tests have been auto-generated by Claude.

@dannywillems dannywillems requested a review from 0xMimir September 2, 2025 15:50
@dannywillems dannywillems linked an issue Sep 2, 2025 that may be closed by this pull request
5 tasks
@dannywillems dannywillems moved this to In Progress in Rust node Sep 2, 2025
@dannywillems dannywillems merged commit 98b86ad into develop Sep 2, 2025
62 of 64 checks passed
@dannywillems dannywillems moved this from In Progress to Done in Rust node Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Deps: updating proof-systems to the same version that the OCaml node uses

2 participants