Skip to content

rpc: getBlockHeight, getTransactionCount, getHighestSnapshotSlot, getEpochInfo & getLatestBlockhash#1256

Open
hamza-syndica wants to merge 4 commits intomainfrom
rcp-getblockheight
Open

rpc: getBlockHeight, getTransactionCount, getHighestSnapshotSlot, getEpochInfo & getLatestBlockhash#1256
hamza-syndica wants to merge 4 commits intomainfrom
rcp-getblockheight

Conversation

@hamza-syndica
Copy link
Contributor

@hamza-syndica hamza-syndica commented Feb 25, 2026

Summary

  • Implement five new RPC methods: getBlockHeight, getTransactionCount, getHighestSnapshotSlot, getEpochInfo, and getLatestBlockhash
  • getHighestSnapshotSlot returns null for now since accounts-db v2 doesn't have a relevant implementation yet

@github-project-automation github-project-automation bot moved this to 🏗 In progress in Sig Feb 25, 2026
@codecov
Copy link

codecov bot commented Feb 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/accountsdb/account_store.zig 93.27% <100.00%> (-1.65%) ⬇️
src/rpc/methods.zig 95.05% <100.00%> (+0.53%) ⬆️
src/rpc/test_serialize.zig 100.00% <100.00%> (ø)

... and 13 files with indirect coverage changes

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

@hamza-syndica hamza-syndica changed the title rpc: getBlockHeight, getTransactionCount, getHighestSnapshotSlot rpc: getBlockHeight, getTransactionCount, getHighestSnapshotSlot, getEpochInfo & getLatestBlockhash Feb 26, 2026
@hamza-syndica hamza-syndica marked this pull request as ready for review February 27, 2026 16:12
@hamza-syndica hamza-syndica requested a review from ajw221 February 27, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

2 participants