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

Report hashing error from v1 batcher dispatcher #1247

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

ian-shim
Copy link
Contributor

@ian-shim ian-shim commented Feb 8, 2025

Why are these changes needed?

Error should be propagated to the channel before returning

Checks

  • I've made sure the tests are passing. Note that there might be a few flaky tests, in that case, please comment that they are not relevant.
  • I've checked the new test coverage and the coverage percentage didn't drop.
  • Testing Strategy
    • Unit tests
    • Integration tests
    • This PR is not tested :(

@ian-shim ian-shim requested review from hopeyen and jianoaix February 8, 2025 23:03
@@ -55,6 +56,13 @@ func (c *dispatcher) sendAllChunks(ctx context.Context, state *core.IndexedOpera
hasAnyBundles := false
batchHeaderHash, err := batchHeader.GetBatchHeaderHash()
if err != nil {
update <- core.SigningMessage{
Copy link
Contributor

Choose a reason for hiding this comment

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

Did we hit this issue recently?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think so. Still good to have it for completeness

@ian-shim ian-shim marked this pull request as ready for review February 12, 2025 22:52
@ian-shim ian-shim merged commit 461318e into Layr-Labs:master Feb 12, 2025
9 checks 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