Skip to content

feat: add jolt-transcript crate#1365

Merged
0xAndoroid merged 6 commits intomainfrom
jolt-v2/jolt-transcript
Apr 7, 2026
Merged

feat: add jolt-transcript crate#1365
0xAndoroid merged 6 commits intomainfrom
jolt-v2/jolt-transcript

Conversation

@markosg04
Copy link
Copy Markdown
Collaborator

Summary

Changes

Testing

  • Ran tests for modified crates
  • cargo clippy and cargo fmt pass

Security Considerations

Breaking Changes

None

Copy link
Copy Markdown
Collaborator Author

markosg04 commented Mar 25, 2026

@markosg04 markosg04 marked this pull request as ready for review April 2, 2026 15:34
@0xAndoroid 0xAndoroid force-pushed the jolt-v2/jolt-profiling branch from 0a58fef to 240e60c Compare April 3, 2026 20:54
@0xAndoroid 0xAndoroid changed the base branch from jolt-v2/jolt-profiling to graphite-base/1365 April 6, 2026 18:19
@0xAndoroid 0xAndoroid force-pushed the jolt-v2/jolt-transcript branch from f089b0c to 9d859ae Compare April 6, 2026 18:25
@0xAndoroid 0xAndoroid force-pushed the jolt-v2/jolt-transcript branch from 9d859ae to 141bc87 Compare April 6, 2026 18:26
- Add #[expect(clippy::expect_used)] for infallible Poseidon operations
- Replace deprecated criterion::black_box with std::hint::black_box
@0xAndoroid 0xAndoroid changed the base branch from graphite-base/1365 to main April 6, 2026 19:00
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

Warning

This PR has more than 500 changed lines and does not include a spec.

Large features and architectural changes benefit from a spec-driven workflow.
See CONTRIBUTING.md for details on how to create a spec.

If this PR is a bug fix, refactor, or doesn't warrant a spec, feel free to ignore this message.

@github-actions github-actions bot added the no-spec PR has no spec file label Apr 6, 2026
@socket-security
Copy link
Copy Markdown

socket-security bot commented Apr 6, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedlight-poseidon@​0.4.010010093100100

View full report

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

Benchmark comparison (crates)

No baseline found — skipping comparison.

…idon, and API improvements

- Add absorb/squeeze domain separation tags (0x00/0x01 for hash-based,
  even/odd round encoding for Poseidon) to prevent operation conflation
- Cache Poseidon<Fr> instance as struct field to avoid per-hash allocation
  of round constants
- Add length-encoding step to Poseidon multi-chunk append to disambiguate
  inputs differing only in trailing zeros
- Make Default delegate to new(b"") for domain separation on default transcripts
- Expand Challenge associated type bounds with PartialEq, Eq, Debug, Hash
- Fix Poseidon doc: "width-3" -> "3-input (width-4 permutation)"
- Move digest and light-poseidon to workspace dependencies
- Add PoseidonTranscript to benchmarks and fuzz target
- Merge README.md into lib.rs crate-level docs
- Remove REVIEW.md and README.md
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

Benchmark comparison (crates)

No baseline found — skipping comparison.

Copy link
Copy Markdown
Collaborator

@0xAndoroid 0xAndoroid left a comment

Choose a reason for hiding this comment

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

lgtm

- Use workspace dep for jolt-field instead of path
- Remove crate-level lint attrs that duplicate workspace lints
- Use #[expect(unused_results)] in benches per lint policy
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

Benchmark comparison (crates)

No baseline found — skipping comparison.

@0xAndoroid 0xAndoroid merged commit c6bdc71 into main Apr 7, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-spec PR has no spec file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants