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

fix(bolt-boost): current slot logic #280

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

thedevbirb
Copy link
Contributor

This PR adds some of the missing steps in the get_header_with_proofs function that are present in the get_header wrapper in Commit-Boost.

In particular, it adds the following line:

    state.get_or_update_slot_uuid(params.slot);

that updates the local current slot when the beacon client calls this function. That was missing and causing some errors when submitting constraints because they were considered too far in the future.

@thedevbirb thedevbirb added T: bug Type: Bug C: bolt-boost Component: bolt-boost labels Oct 7, 2024
@thedevbirb thedevbirb merged commit 0e967f0 into unstable Oct 7, 2024
3 checks passed
@thedevbirb thedevbirb deleted the lore/fix/current-slot-bolt-boost branch October 7, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: bolt-boost Component: bolt-boost T: bug Type: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant