-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
Add execution payload header to light client header capella onwards #5027
Conversation
Performance Report✔️ no performance regression detected Full benchmark results
|
packages/params/src/index.ts
Outdated
@@ -186,6 +194,17 @@ export const FINALIZED_ROOT_GINDEX = 105; | |||
*/ | |||
export const FINALIZED_ROOT_DEPTH = 6; | |||
export const FINALIZED_ROOT_INDEX = 41; | |||
|
|||
// TODO: add correct values here | |||
export const EXECUTION_PAYLOAD_GINDEX = 105; |
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.
TODO: cal and update corrected
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.
looks to be 33
types.ssz.capella.LightClientUpdate.getPathInfo(['attestedHeader', 'execution']).gindex
// 33
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.
the proof is from the block body to payload, so updated accordingly
74af4da
to
30911c9
Compare
1a185ca
to
e218dd3
Compare
constructor(config: IChainForkConfig, db: IDatabaseController<Uint8Array, Uint8Array>) { | ||
// Pick some type but won't be used | ||
super(config, db, Bucket.lightClient_bestLightClientUpdate, ssz.altair.LightClientUpdate); |
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.
can we use new buckets here and below to make migration easier
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.
bump the bucket number for this key?
…5027) * Add execution payload header to light client header capella onwards * add more forks * add allfork types * make other types multifork * make events multifork compatible * make lightclient routes multifork * update light-client transport * upgrade the blocktype on lightclient server import block * fixes * fix test * fix event serialization/deserilization type * update proof constants * fix payload index * update the light client update generation to multi fork * fix types * add spec override to pass specs * make event types allforks * make req/resp multifork * make types multifork throughout * fix the update serialize/deserialize * fix error log * better fork determination for update * fix the fork of finalized * fix tests * fix header upgradation
* v1.5.0 * Add validatior option to specify builder block selection strategy (#5064) * Add validatior option to specify builder block selection strategy * cleanup and improvements * server api fx * fix test * fix the testcase * Re-gossip bls changes if submitted earlier than capella (#5049) * Cache and retransmit bls changes if submitted early * regossip when synced on/post capella * fix tests * modify publish vs cache condition * add logging * add error logging * batchify the processing * fix some of the cases * fix log issues * also delete included keys * fix lint * simplify gossip loop * fix build * refac to a versioned bls change store * update * logging improvements * improve logging and finish behavior * cleanup * Rename eip4844 fork as Deneb (#5082) * Fix and extract payload to header conversion (#5101) * Remove unused eslint disable directives (#5046) * Add execution payload header to light client header capella onwards (#5027) * Add execution payload header to light client header capella onwards * add more forks * add allfork types * make other types multifork * make events multifork compatible * make lightclient routes multifork * update light-client transport * upgrade the blocktype on lightclient server import block * fixes * fix test * fix event serialization/deserilization type * update proof constants * fix payload index * update the light client update generation to multi fork * fix types * add spec override to pass specs * make event types allforks * make req/resp multifork * make types multifork throughout * fix the update serialize/deserialize * fix error log * better fork determination for update * fix the fork of finalized * fix tests * fix header upgradation * Fix zero finalized header in lightclient update gen (#5121) * Schedule capella on sepolia (#5127) * Get the capella builder functional (#5179) * Allow blsChange reprocess/republish via API submission (#5185) * Fix gossiping blsChange on submit if post capella * comment improvement * Use new db bucket for light client updates (#5205) --------- Co-authored-by: Cayman <caymannava@gmail.com> Co-authored-by: g11tech <develop@g11tech.io> Co-authored-by: Nico Flaig <nflaig@protonmail.com>
🎉 This PR is included in v1.6.0 🎉 |
Add execution payload header to light client header capella onwards
Part of