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

Make FIELD_ELEMENTS_PER_BLOB compile-time configurable #16

Merged
merged 7 commits into from
Dec 6, 2022

Conversation

xrchz
Copy link
Contributor

@xrchz xrchz commented Nov 29, 2022

No description provided.

@xrchz xrchz force-pushed the configure_blob_size branch from f8542f2 to 070948d Compare November 29, 2022 21:07
@StefanBratanov
Copy link
Contributor

StefanBratanov commented Dec 1, 2022

Is it possible as part of this PR a version of https://github.com/ethereum/c-kzg-4844/blob/main/src/trusted_setup.txt to be included which will work when FIELD_ELEMENTS_PER_BLOB is set to 4

@xrchz
Copy link
Contributor Author

xrchz commented Dec 1, 2022

If you have one handy I'm happy to add it :)

@StefanBratanov
Copy link
Contributor

If you have one handy I'm happy to add it :)

I actually couldn't make one work, was getting C_KZG_BADARGS. I was trying to adapt the one from the consensus specs https://github.com/ethereum/consensus-specs/blob/dev/presets/minimal/trusted_setups/testing_trusted_setups.json

@xrchz
Copy link
Contributor Author

xrchz commented Dec 1, 2022

Thanks for suggesting this - it uncovered some bugs in the PR.

@xrchz xrchz merged commit 78bf846 into main Dec 6, 2022
@xrchz xrchz deleted the configure_blob_size branch December 6, 2022 12:48
belijzajac added a commit to grandinetech/rust-kzg that referenced this pull request Dec 11, 2022
We have to use the makefile to build the library; see ethereum/c-kzg-4844#16
sauliusgrigaitis added a commit to grandinetech/rust-kzg that referenced this pull request Dec 11, 2022
* Updated Rust version

* Fix `c-kzg-4844` build
We have to use the makefile to build the library; see ethereum/c-kzg-4844#16

* Fix clippy

Co-authored-by: belijzajac <[email protected]>
sauliusgrigaitis added a commit to grandinetech/rust-kzg that referenced this pull request Dec 18, 2022
* Updated Rust version

* Fix clippy

* Fix clippy

* Fix `c-kzg-4844` build
We have to use the makefile to build the library; see ethereum/c-kzg-4844#16

* Fix clippy

Co-authored-by: belijzajac <[email protected]>
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