Commit Graph

20 Commits

Author SHA1 Message Date
1c5a22a814 fix: Convert header type for eth_subscribe
Due to custom header usage, only `eth_subscribe` method was returning the new header format in raw format, while other part were using RpcConvert to convert headers.

Make `eth_subscribe` newHeads to return the `inner` field (original eth header) instead.
2025-10-11 02:49:19 +00:00
aa73fab281 chore: Now cargo fmt sorts imports and trait methods 2025-10-05 03:56:23 -04:00
8605be9864 chore: Upgrade to reth v1.8.2 2025-10-05 03:56:23 -04:00
875304f891 feat: Add debug CLI flag to enforce latest blocks (--debug-cutoff-height)
This is useful when syncing to specific testnet blocks
2025-10-02 14:53:47 +00:00
1c7136bfab feat(rpc): add HlBlockPrecompile rpc API 2025-09-18 04:57:49 +07:00
37b852e810 chore(build): add reth-hl version output 2025-09-09 20:19:52 +07:00
e87b9232cc fix: Disable eth_getProof by default
No need to give malfunctioning feature by default. Issue #15 affects
StoragesTrie, AccountsTrie table which is used only for state root and
proof generation.
Also clearing the table does not affect any other parts of reth node.

Meanwhile, add --experimental-eth-get-proof flag to enable eth_getProof
forcefully.
2025-08-28 10:27:32 -04:00
4f430487d6 refactor: Move RPC addons to addons/ 2025-08-24 01:18:52 -04:00
4be1aa83de Port to reth 1.6.0-dev 2025-08-21 05:58:37 -04:00
d0d7ab8cb8 chore(rpc): only forward calls to upstream if against latest block state 2025-07-07 02:20:52 +02:00
ba33d9e8ac feat: Add call forwarder
4b793c496b
2025-07-05 03:17:36 +00:00
278d3608b1 fix: Always forward transactions to upstream 2025-07-05 03:17:36 +00:00
7918101d65 feat: Add --hl-node-compliant 2025-07-04 23:27:50 +00:00
f605c56bdf chore: cargo fix, fmt and misc fixes 2025-07-02 16:06:32 +00:00
39ae8ae9f8 feat: tx forwarder
eth_sendRawTransaction will forward transactions into --upstream-rpc-url, if specified in cli args.
2025-07-01 02:32:00 +00:00
ba8dfc4d96 feat: Pseudo peer and staged sync
For simplicity, we use with_pow() + pseudo peer that connects to reth itself, so that it can support 1. StateFetcher via NetworkState 2. Block announcement (which requires with_pow()).

For block announcement, another way was using ImportService like before, or calling engine_api. But for simplicitiy, for now we just publish from pseudo peer like pre-PoS, hence with_pow().
2025-06-27 19:39:08 +00:00
0c8229370f chore: Add reth rustfmt 2025-06-24 02:27:40 +00:00
96cc7bec38 fix: Create hl-specific tables 2025-06-22 14:47:20 -04:00
821bf7a775 Make it compilable (still bunch to fix!) 2025-06-17 18:26:07 -04:00
f95c755f26 first commit 2025-06-11 04:31:22 +09:00