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(consensus): add a safety margin so the batcher stops building early enough #2691

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

matan-starkware
Copy link
Contributor

This should become configurable as part of a refactor Guy will do to the consensus configs.

@matan-starkware matan-starkware marked this pull request as ready for review December 16, 2024 11:32
@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@matan-starkware matan-starkware force-pushed the matan/consensus/mileston2/build_proposal_margin branch from a23a79a to ae3ff8f Compare December 16, 2024 11:34
@matan-starkware matan-starkware changed the title fix(consensus): Add a safety margin so the batcher stops building early enough fix(consensus): add a safety margin so the batcher stops building early enough Dec 16, 2024
Copy link
Collaborator

@alonh5 alonh5 left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @dan-starkware and @matan-starkware)


a discussion (no related file):
Remove your TODO in the batcher and the division by 2 of the timeout duration and make sure the flow tests passes.

@matan-starkware matan-starkware force-pushed the matan/consensus/mileston2/build_proposal_margin branch from ae3ff8f to 5825a29 Compare December 16, 2024 14:21
Copy link
Contributor Author

@matan-starkware matan-starkware left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @alonh5 and @dan-starkware)


a discussion (no related file):

Previously, alonh5 (Alon Haramati) wrote…

Remove your TODO in the batcher and the division by 2 of the timeout duration and make sure the flow tests passes.

Done and the flow test still passes.

@matan-starkware matan-starkware force-pushed the matan/consensus/mileston2/build_proposal_margin branch from 5825a29 to ba860d5 Compare December 16, 2024 14:32
Copy link
Collaborator

@alonh5 alonh5 left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @dan-starkware and @matan-starkware)


a discussion (no related file):

Previously, matan-starkware wrote…

Done and the flow test still passes.

I see it failed in the CI

@matan-starkware
Copy link
Contributor Author

Previously, alonh5 (Alon Haramati) wrote…

I see it failed in the CI

Well this is annoying, it passes locally...

@matan-starkware matan-starkware force-pushed the matan/consensus/mileston2/build_proposal_margin branch 5 times, most recently from 862278f to 11b9bce Compare December 17, 2024 08:06
…ly enough

This should become configurable as part of a refactor Guy will do to the consensus configs.
@matan-starkware matan-starkware force-pushed the matan/consensus/mileston2/build_proposal_margin branch from 11b9bce to 89746a6 Compare December 17, 2024 11:38
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