Skip to content

fix(gas-profiler): enforce blockNumber in all queries#397

Merged
mattevans merged 1 commit intomasterfrom
refactor/optimise-gas-profiler
Feb 5, 2026
Merged

fix(gas-profiler): enforce blockNumber in all queries#397
mattevans merged 1 commit intomasterfrom
refactor/optimise-gas-profiler

Conversation

@mattevans
Copy link
Member

  • require blockNumber in useAllCallFrameOpcodes and useTransactionGasData to guarantee partition-based filtering and avoid full table scans
  • skip API calls when blockFromSearch is missing, preventing 404s
  • add explicit warning UI when direct URL lacks ?block= parameter
  • update TransactionRow to always supply blockNumber for efficient fetch
  • align comments with new primary-key usage instead of partition key

…ckHouse primary key

- require blockNumber in useAllCallFrameOpcodes and useTransactionGasData
 to guarantee partition-based filtering and avoid full table scans
- skip API calls when blockFromSearch is missing, preventing 404s
- add explicit warning UI when direct URL lacks ?block= parameter
- update TransactionRow to always supply blockNumber for efficient fetch
- align comments with new primary-key usage instead of partition key
@mattevans mattevans self-assigned this Feb 4, 2026
@mattevans mattevans requested a review from Savid as a code owner February 4, 2026 22:44
@mattevans mattevans merged commit 127cd9a into master Feb 5, 2026
3 checks passed
@mattevans mattevans deleted the refactor/optimise-gas-profiler branch February 5, 2026 00:44
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