Skip to content

fix(scan): show block time for txs via the indexed /tx fallback#98

Merged
github-actions[bot] merged 1 commit into
mainfrom
fix/scan-tx-detail-timestamp
Jun 8, 2026
Merged

fix(scan): show block time for txs via the indexed /tx fallback#98
github-actions[bot] merged 1 commit into
mainfrom
fix/scan-tx-detail-timestamp

Conversation

@satyakwok
Copy link
Copy Markdown
Member

Completes the pair with indexer-rs #66. The /tx fallback added in #97 hardcoded timestamp: "0" because the indexed payload had no time field; the indexer now returns top-level block_timestamp, so normalizeTx reads it (same pattern the legacy path already uses). Harmless before the indexer deploys — block_timestamp is just undefined → 0, identical to today.

The /tx fallback (#97) hardcoded timestamp "0" because the indexed payload
carried no time. indexer-rs #66 now ships block_timestamp alongside, so map
it the same way the legacy path already reads raw.block_timestamp.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 8, 2026

Warning

Review limit reached

@satyakwok, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 53 minutes and 5 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: cf5e1bc5-253c-4e61-b584-b5333233deaf

📥 Commits

Reviewing files that changed from the base of the PR and between 58c2bf5 and 3c1d24b.

📒 Files selected for processing (1)
  • apps/scan/lib/api.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/scan-tx-detail-timestamp

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot enabled auto-merge (squash) June 8, 2026 10:59
@github-actions github-actions Bot merged commit 8d8a08c into main Jun 8, 2026
7 checks passed
@satyakwok satyakwok deleted the fix/scan-tx-detail-timestamp branch June 8, 2026 11:08
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.

1 participant