Skip to content

feat: add range-first chunked log scan APIs - #9

Merged
suchapalaver merged 1 commit into
mainfrom
issue-1-range-first-scans
Jul 5, 2026
Merged

suchapalaver merged 1 commit into
mainfrom
issue-1-range-first-scans

Conversation

@suchapalaver

@suchapalaver suchapalaver commented Jul 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add a finite RangeBounds normalizer for chunked log scans
  • Add EventScanner::scan_range, EventScanner::scan_with_handler_range, and fetch_logs_chunked_range
  • Stamp per-chunk filters with Alloy Filter::select(start..=end) while preserving existing start/end APIs
  • Add tests for inclusive/exclusive bounds, open-ended rejection, empty/inverted ranges, u64::MAX termination, and start/end compatibility
  • Update REUSE/SPDX metadata with 2026 Joseph Livesey copyright on touched files

Closes #1

Verification

  • cargo fmt
  • nix shell nixpkgs#reuse -c reuse lint
  • nix shell nixpkgs#stdenv.cc -c cargo clippy --all-targets --all-features -- -D warnings
  • nix shell nixpkgs#stdenv.cc -c cargo clippy -- -D warnings
  • nix shell nixpkgs#stdenv.cc -c cargo clippy --no-default-features -- -D warnings
  • nix shell nixpkgs#stdenv.cc -c cargo test
  • nix shell nixpkgs#stdenv.cc -c cargo test --all-features
  • nix shell nixpkgs#stdenv.cc -c cargo test --no-default-features
  • nix shell nixpkgs#stdenv.cc -c cargo doc --no-default-features --no-deps
  • nix shell nixpkgs#stdenv.cc -c cargo doc --all-features --no-deps
  • nix shell nixpkgs#stdenv.cc -c cargo publish --dry-run --allow-dirty

@suchapalaver
suchapalaver force-pushed the issue-1-range-first-scans branch from e8df294 to fff65ab Compare July 5, 2026 01:02
@suchapalaver
suchapalaver merged commit 6678fe0 into main Jul 5, 2026
11 checks passed
@suchapalaver
suchapalaver deleted the issue-1-range-first-scans branch July 5, 2026 01:04
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.

Add range-first APIs for finite block log scans

1 participant