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

Lookahead pointer and proper LookaheadSetParam sent in block proposal #91

Merged
merged 5 commits into from
Aug 28, 2024

Conversation

mskrzypkows
Copy link
Collaborator

No description provided.

Node/src/ethereum_l1/execution_layer.rs Outdated Show resolved Hide resolved
Node/src/node/mod.rs Outdated Show resolved Hide resolved
Node/src/utils/types.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@mikhailUshakoff mikhailUshakoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Operator.get_status function isn't working correctly. The PreconfTaskManager.getLookaheadParamsForEpoch returns SetParams, which can contain fewer than 32 elements or even be empty. We need to iterate over it by timestamp to find the correct slot, similar to how it's done in Node.get_lookahead_params. From what I understand, @AnshuJalan is working on a new function that will return preconfer_address[32] for every slot. We can add a TODO comment for this and proceed with merging it as is.

@mskrzypkows mskrzypkows merged commit b64c41e into master Aug 28, 2024
1 check passed
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.

2 participants