-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Update constants in consts.rs for G1 and G2 points
- Loading branch information
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pub const BYTES_PER_FIELD_ELEMENT: usize = 32; | ||
pub const FIELD_ELEMENTS_PER_BLOB: usize = 4096; | ||
pub const BYTES_PER_G1: usize = 48; | ||
pub const BYTES_PER_G2: usize = 96; | ||
pub const BYTES_PER_G1_POINT: usize = 48; | ||
pub const BYTES_PER_G2_POINT: usize = 96; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters