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

patch to mtsitrin/324: remove validate batch #830

Conversation

danwt
Copy link
Contributor

@danwt danwt commented May 9, 2024

The validate is unnecessary because it's valid by construction

@danwt danwt requested a review from a team as a code owner May 9, 2024 08:58
@danwt danwt changed the base branch from main to mtsitrin/324-block-batch-submission-should-be-only-determined-by-max-bytes-or-max-hub-blocks May 9, 2024 08:58
@danwt danwt requested a review from mtsitrin May 9, 2024 08:58
@mtsitrin
Copy link
Contributor

mtsitrin commented May 9, 2024

this validation found few bugs already (e.g single block which is too big to fit a batch)
u can add the validation check to the creation function

@danwt
Copy link
Contributor Author

danwt commented May 9, 2024

I think it's literally impossible by construction now, for this validation to find anything, so it's not needed.
unless I'm making a mistake in reading the code

@danwt
Copy link
Contributor Author

danwt commented May 9, 2024

superseded by #833

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