mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-01-23 08:29:17 +00:00
Fix type
This commit is contained in:
parent
c3d11f915a
commit
3f66b35664
4
bindings/node.js/dist/dts/kzg.d.ts
vendored
4
bindings/node.js/dist/dts/kzg.d.ts
vendored
@ -2,8 +2,8 @@ export declare type BLSFieldElement = Uint8Array;
|
||||
export declare type KZGProof = Uint8Array;
|
||||
export declare type KZGCommitment = Uint8Array;
|
||||
export declare type Blob = Uint8Array;
|
||||
export declare const FIELD_ELEMENTS_PER_BLOB: any;
|
||||
export declare const BYTES_PER_FIELD: any;
|
||||
export declare const FIELD_ELEMENTS_PER_BLOB: number;
|
||||
export declare const BYTES_PER_FIELD: number;
|
||||
export declare function loadTrustedSetup(filePath: string): void;
|
||||
export declare function freeTrustedSetup(): void;
|
||||
export declare function blobToKzgCommitment(blob: Blob): KZGCommitment;
|
||||
|
@ -2,7 +2,7 @@
|
||||
* The public interface of this module exposes the functions as specified by
|
||||
* https://github.com/ethereum/consensus-specs/blob/dev/specs/eip4844/polynomial-commitments.md#kzg
|
||||
*/
|
||||
const kzg = require("./kzg.node");
|
||||
const kzg: KZG = require("./kzg.node");
|
||||
|
||||
export type BLSFieldElement = Uint8Array; // 32 bytes
|
||||
export type KZGProof = Uint8Array; // 48 bytes
|
||||
|
Loading…
x
Reference in New Issue
Block a user