Skip to content

Conversation

bleepbloopsify
Copy link
Contributor

@bleepbloopsify bleepbloopsify commented Oct 14, 2025

formatted the old cache regression tests

added a new test: cache/rsa-regression that checks the RSA example so it works with a cache.

updated the cache regression artifact pinned to include RSA examples.

this is the root of a trunk.

children:
#2551


const harness = await CacheHarness({ mode, tarball });

const Program = rsaZkProgram;
Copy link
Member

Choose a reason for hiding this comment

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

necessary? import { rsaZkProgram as Program } from also works

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

const { verificationKey: vk } = await Program.compile({ cache: harness.cache });
harness.check(vk, 'vk');

const input = await sha256Bigint('How are you!');
Copy link
Member

Choose a reason for hiding this comment

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

i am good x)

@bleepbloopsify bleepbloopsify force-pushed the leon/add-crypto-example-cache-regression branch from 49d567b to 214b823 Compare October 16, 2025 13:29
@bleepbloopsify bleepbloopsify force-pushed the leon/add-crypto-example-cache-regression branch from 214b823 to 9125c4a Compare October 16, 2025 13:30
@bleepbloopsify bleepbloopsify merged commit 1286dd4 into main Oct 16, 2025
28 checks passed
@bleepbloopsify bleepbloopsify deleted the leon/add-crypto-example-cache-regression branch October 16, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants