-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Use engine API-compatible FIELD_ELEMENTS_PER_BLOB in minimal preset
#3255
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
Use engine API-compatible FIELD_ELEMENTS_PER_BLOB in minimal preset
#3255
Conversation
The CI situation
BeforeWith this PR😭 Also, looks like it found a bug in Potential solutions to improve it1. Implement low-level field element computation and pairing helpers in
|
|
I am wondering if there is an option to run tests on CI with |
We don't have such an option. I think it requires at least:
|
I cherry-picked #3256 to fix this branch. After 30min, we got:
I want to add that, we've also skipped more than 100 |
|
Kev has now implemented an interface for arkworks: https://pypi.org/project/py-arkworks-bls12381/ |
|
From a discussion with @hwwhww another option to consider is defining The downside of this approach is an overhead of keeping |
|
Before resorting to separate If this is an optimization issue which can be solved by optimizing the test generation sufficiently, then that's cleaner in general, rather than allowing sort of incidental complexity to ramify out into the specs. |
|
I merged the |
|
Deneb/Cancun is still on track to launch with a broken If it's truly the case that generating test vectors for this is that much of an imposition, it should perhaps be cause to reflect on the protocol more broadly; test vectors would in that situation be a downstream effect, not cause. |
|
I support this PR, we rely on minimal spec presets for a large part of our testing, and this issue is blocking our entire testing pipeline for deneb |
|
Hey @hwwhww . Thanks for looking into this. Before we commit to removing EDIT: For some context, running the |
|
Hey @asn-d6 It's Line 131 in 8acb254
You can try to benchmark it with |
It now creates 6 random proofs instead of all 4096.
Thanks for the explanation! I added a commit to this PR which revives Hoping that performance is looking better now. |
hwwhww
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirmed that testgen works fine with this PR. I hope to get approvals from other maintainers too, before merging it.
In the meantime, I will go add the official trusted setups based on this PR so we don't need to create a minimal preset version.


https://github.com/ethereum/execution-apis/blob/main/src/engine/experimental/blob-extension.md#blobsbundlev1 notes
This corresponds with the mainnet preset, but not the minimal preset. This renders the minimal preset Cancun-engine-API incompatible.