import { fetchAndConvertToUint8Array } from "../shared/utils"; export const getKzgParams = async (k: number): Promise => { if (k < 6 || k > 19) { throw new Error(`k=${k} is not supported`); } return await fetchAndConvertToUint8Array(`https://axiom-crypto.s3.amazonaws.com/challenge_0085/kzg_bn254_${k}.srs`) };