Skip to content

DataStore error while re-executing network transactions #1581

@SantiagoPittella

Description

@SantiagoPittella

Seems like after #1521 the NTX builder started to fail to execute the increase counter network transactions.

To reproduce I started the node as usual:

$ miden-node bundled bootstrap --data-directory data --accounts-directory accounts --genesis-config-file ./simple.toml

$ miden-node bundled start --rpc.url http://0.0.0.0:57291 --data-directory data --enable-otel

And in another terminal:

$ miden-network-monitor start --rpc-url http://localhost:57291 --counter-increment-interval 10s

Then I get this logs:

2026-01-22T22:45:27.434246Z  INFO ntx.state.select_candidate: miden-ntx-builder: crates/ntx-builder/src/actor/account_state.rs:104: close, time.busy: 3.75µs, time.idle: 750ns
2026-01-22T22:45:27.435248Z ERROR rpc: tower_http::trace::on_failure: /Users/spittella/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.8/src/trace/on_failure.rs:93: response failed, classification: Code: 13, latency: 0 ms rpc.service: "store.NtxBuilder", rpc.method: "GetVaultAssetWitnesses", otel.name: "store.NtxBuilder/GetVaultAssetWitnesses"
2026-01-22T22:45:27.435264Z  INFO rpc: miden_node_utils::tracing::grpc: crates/utils/src/tracing/grpc.rs:21: close, time.busy: 39.5µs, time.idle: 11.3µs rpc.service: "store.NtxBuilder", rpc.method: "GetVaultAssetWitnesses", otel.name: "store.NtxBuilder/GetVaultAssetWitnesses"
2026-01-22T22:45:27.435353Z ERROR ntx.actor.execute_transactions:ntx.execute_transaction:ntx.execute_transaction.filter_notes:store.client.get_vault_asset_witnesses: miden-ntx-builder: crates/ntx-builder/src/store.rs:388: error: gRPC client error
2026-01-22T22:45:27.435366Z  INFO ntx.actor.execute_transactions:ntx.execute_transaction:ntx.execute_transaction.filter_notes:store.client.get_vault_asset_witnesses: miden-ntx-builder: crates/ntx-builder/src/store.rs:388: close, time.busy: 35.2µs, time.idle: 255µs
2026-01-22T22:45:27.435378Z ERROR ntx.actor.execute_transactions:ntx.execute_transaction:ntx.execute_transaction.filter_notes: miden-ntx-builder: crates/ntx-builder/src/actor/execute.rs:217: error: failed to filter notes
2026-01-22T22:45:27.435384Z  INFO ntx.actor.execute_transactions:ntx.execute_transaction:ntx.execute_transaction.filter_notes: miden-ntx-builder: crates/ntx-builder/src/actor/execute.rs:217: close, time.busy: 710µs, time.idle: 260µs
2026-01-22T22:45:27.435412Z ERROR ntx.actor.execute_transactions:ntx.execute_transaction: miden-ntx-builder: crates/ntx-builder/src/actor/execute.rs:145: error: failed to filter notes
2026-01-22T22:45:27.435419Z  INFO ntx.actor.execute_transactions:ntx.execute_transaction: miden-ntx-builder: crates/ntx-builder/src/actor/execute.rs:145: close, time.busy: 902µs, time.idle: 258µs
2026-01-22T22:45:27.435428Z ERROR ntx.actor.execute_transactions: miden_node_ntx_builder::actor: crates/ntx-builder/src/actor/mod.rs:313: network transaction failed, err: "failed to filter notes\ncaused by: transaction preparation failed: failed to fetch asset witnesses from the data store\ncaused by: failed to fetch asset witnesses from the data store\ncaused by: failed to get vault asset witnesses\ncaused by: gRPC client error\ncaused by: status: 'Internal error', self: \"root not found\", metadata: {\"content-type\": \"application/grpc\", \"date\": \"Thu, 22 Jan 2026 22:45:27 GMT\"}"

Metadata

Metadata

Assignees

Labels

network transactionsRelates to the network transactions feature

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions