Skip to content

netutils --> 4.0.0#2313

Merged
dorianvp merged 6 commits intodevfrom
update_netutils
Mar 31, 2026
Merged

netutils --> 4.0.0#2313
dorianvp merged 6 commits intodevfrom
update_netutils

Conversation

@zancas
Copy link
Copy Markdown
Member

@zancas zancas commented Mar 29, 2026

Fixes: #2312

This updates to the modern pattern where "Indexer" is a first class Rust abstraction that is maintained in the zingo-netutils package.

@zancas
Copy link
Copy Markdown
Member Author

zancas commented Mar 29, 2026

I am running a local sanity test.

zancas added 5 commits March 29, 2026 10:26
  GrpcIndexer::new() now returns Result, get_trees() was renamed to
  get_tree_state() taking BlockId, and set_indexer_uri() now returns
  Result since GrpcIndexer is immutable after construction.

  Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
  Both ring and aws-lc-rs get unified into the dependency tree via
  transitive deps, preventing rustls from auto-selecting a provider.
  Also fix test helper to supply a valid indexer URI since
  GrpcIndexer::new now validates the scheme eagerly.

  Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
  ClientConfigBuilder::build() now defaults to DEFAULT_INDEXER_URI
  instead of an empty URI, since GrpcIndexer::new validates the scheme
  eagerly in netutils 4.0.0. Also install ring as the default rustls
  CryptoProvider in LightClient::new to handle both ring and aws-lc-rs
  being unified into the dep tree via transitive dependencies.

  Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Copy link
Copy Markdown
Member

@dorianvp dorianvp left a comment

Choose a reason for hiding this comment

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

utACK

@dorianvp dorianvp merged commit a3c9eb5 into dev Mar 31, 2026
17 checks passed
@dorianvp dorianvp deleted the update_netutils branch March 31, 2026 12:03
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.

netutils needs to be a crate

3 participants