Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@zadykian
Copy link
Contributor

@zadykian zadykian commented Jul 9, 2025

Sync Committee CLI: Fix GetBatches Error

This commit fixes an error in the sync_committee_cli get-batches command:

zadykian@nil-dev:~$ sync_committee_cli get-batches --endpoint "tcp://127.0.0.1:8540" --limit 101
2025-07-09 11:37:50 ERR [sync_committee_cli] github.com/NilFoundation/nil/nil/cmd/sync_committee_cli/internal/exec/executor.go:104 > Command execution failed err=["failed to get batches from debug API: rpc error: {\"code\":-32000,\"message\":\"batch with the specified id is not found, id=3d400723-9821-4dfd-9fad-452a5375a93b\"}"]

Batch traversal logic has been updated to handle cases where a parent batch has already been removed from storage

This commit fixes an error in the `sync_committee_cli get-batches` command:

```shell
zadykian@nil-dev:~$ sync_committee_cli get-batches --endpoint "tcp://127.0.0.1:8540" --limit 101
2025-07-09 11:37:50 ERR [sync_committee_cli] github.com/NilFoundation/nil/nil/cmd/sync_committee_cli/internal/exec/executor.go:104 > Command execution failed err=["failed to get batches from debug API: rpc error: {\"code\":-32000,\"message\":\"batch with the specified id is not found, id=3d400723-9821-4dfd-9fad-452a5375a93b\"}"]
```

Batch traversal logic has been updated to handle cases where a parent batch has already been removed from storage
@zadykian zadykian self-assigned this Jul 9, 2025
@zadykian zadykian requested review from akokoshn, oclaw and x-mass July 10, 2025 11:59
@zadykian zadykian marked this pull request as ready for review July 10, 2025 13:21
@zadykian zadykian added this pull request to the merge queue Jul 14, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 14, 2025
@zadykian zadykian added this pull request to the merge queue Jul 14, 2025
Merged via the queue into main with commit 1ed95e1 Jul 14, 2025
47 of 50 checks passed
@zadykian zadykian deleted the sync-committee/cli-get-batches-fix branch July 14, 2025 08:10
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.