Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cache Axiom SRS (trusted setup) #54

Closed
wants to merge 1 commit into from
Closed

Conversation

jonathanpwang
Copy link
Contributor

I'm going to publish this under alpha version.

Copy link

vercel bot commented Jan 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
halo2-repl ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2024 3:11pm

@jonathanpwang
Copy link
Contributor Author

Note: I don't know how this will work in browser.


export const getKzgParams = async (k: number): Promise<Uint8Array> => {
const home = os.homedir();
Copy link
Contributor

Choose a reason for hiding this comment

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

I think just like fetchAndConvertToUint8Array we need to first check if this is running in Node.js or browser, and only use/import os/path/https if it's node. And maybe we could save to localStorage if it's from browser?

@ytham ytham mentioned this pull request Jan 17, 2024
@ytham
Copy link
Collaborator

ytham commented Jan 18, 2024

closing since we have merged this instead: #55

@ytham ytham closed this Jan 18, 2024
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.

3 participants