Open
Conversation
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
# Conflicts: # packages/relay/src/lib/debug.ts
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
# Conflicts: # docs/rpc-api.md # scripts/openrpc-json-updater/config.js
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
# Conflicts: # packages/relay/src/index.ts
…get-raw-header-method
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
jasuwienas
previously approved these changes
Feb 18, 2026
Contributor
There was a problem hiding this comment.
lgtm...
It’s unfortunate that we have to fetch all the transactions in a block just to return the header. However, as long as we’re responsible for calculating the root, I don’t think there’s any way around it.
Just few nits to consider (non-blockers I guess)
EDIT: but you'llhave to resolve the conflicts first.
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
…get-raw-header-method # Conflicts: # packages/relay/src/lib/factories/blockFactory.ts # packages/server/tests/acceptance/debug.spec.ts
Signed-off-by: nikolay <n.atanasow94@gmail.com>
# Conflicts: # docs/openrpc.json # docs/rpc-api.md # packages/relay/src/index.ts # packages/relay/src/lib/debug.ts # packages/relay/src/lib/factories/blockFactory.ts # packages/relay/tests/lib/debug.spec.ts # packages/server/tests/acceptance/debug.spec.ts # scripts/openrpc-json-updater/config.js
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #4926 +/- ##
==========================================
- Coverage 95.86% 95.67% -0.20%
==========================================
Files 143 143
Lines 23968 24024 +56
Branches 1900 1895 -5
==========================================
+ Hits 22977 22985 +8
- Misses 967 1015 +48
Partials 24 24
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 11 files with indirect coverage changes 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Currently, we're missing the
debug_getRawHeadermethod.Solution
debug_getRawHeadermethodMissing fields in the Hedera concept:
fee_recipient
prev_randao
withdrawal_root
RPC method:
{ "id": 1, "jsonrpc": "2.0", "method": "debug_getRawHeader", "params": [ "latest" // block number or block hash ] }Response:
{ "jsonrpc": "2.0", "id": 1, "result": "0xf90211a0..." // RLP encoded header }Note:
0x00x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421Related issue(s)
Fixes #4891
Testing Guide
Changes from original design (optional)
N/A
Additional work needed (optional)
N/A
Checklist