Skip to content

fix: add missing validation on token_history API#1461

Merged
jansegre merged 1 commit intomasterfrom
fix/token-history-api
Oct 21, 2025
Merged

fix: add missing validation on token_history API#1461
jansegre merged 1 commit intomasterfrom
fix/token-history-api

Conversation

@glevco
Copy link
Contributor

@glevco glevco commented Oct 13, 2025

Motivation

A validation was missing on the token_history API, which ends up hitting an assertion in internal code and creating noise for the on call.

Acceptance Criteria

  • Add missing validation on the tokens_history API.

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@glevco glevco self-assigned this Oct 13, 2025
@glevco glevco moved this from Todo to In Progress (WIP) in Hathor Network Oct 13, 2025
@codecov
Copy link

codecov bot commented Oct 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.09%. Comparing base (2a304d0) to head (f98bd80).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1461      +/-   ##
==========================================
- Coverage   86.11%   86.09%   -0.02%     
==========================================
  Files         437      437              
  Lines       34044    34047       +3     
  Branches     5324     5325       +1     
==========================================
- Hits        29316    29313       -3     
- Misses       3681     3686       +5     
- Partials     1047     1048       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@glevco glevco moved this from In Progress (WIP) to In Progress (Done) in Hathor Network Oct 14, 2025
@glevco glevco force-pushed the fix/token-history-api branch 2 times, most recently from c1451fd to 7df9fde Compare October 15, 2025 19:47
@glevco glevco moved this from In Progress (Done) to In Review (WIP) in Hathor Network Oct 20, 2025
@glevco glevco moved this from In Review (WIP) to In Review (Done) in Hathor Network Oct 20, 2025
@jansegre jansegre mentioned this pull request Oct 20, 2025
2 tasks
@glevco glevco force-pushed the fix/token-history-api branch from 7df9fde to f98bd80 Compare October 20, 2025 17:26
@github-actions
Copy link

github-actions bot commented Oct 20, 2025

🐰 Bencher Report

Branchfix/token-history-api
Testbedubuntu-22.04
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
minutes (m)
(Result Δ%)
Lower Boundary
minutes (m)
(Limit %)
Upper Boundary
minutes (m)
(Limit %)
sync-v2 (up to 20000 blocks)📈 view plot
🚷 view threshold
1.75 m
(+0.82%)Baseline: 1.73 m
1.56 m
(89.27%)
2.08 m
(84.01%)
🐰 View full continuous benchmarking report in Bencher

@glevco glevco force-pushed the fix/token-history-api branch from f98bd80 to aad71df Compare October 20, 2025 20:47
@jansegre jansegre merged commit a555cd7 into master Oct 21, 2025
6 of 7 checks passed
@jansegre jansegre deleted the fix/token-history-api branch October 21, 2025 14:04
@github-project-automation github-project-automation bot moved this from In Review (Done) to Waiting to be deployed in Hathor Network Oct 21, 2025
@jansegre jansegre mentioned this pull request Oct 21, 2025
2 tasks
@jansegre jansegre moved this from Waiting to be deployed to Done in Hathor Network Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants