51924e9671
Merge pull request #91 from hl-archive-node/fix/debug-cutoff
...
fix: Fix --debug-cutoff-height semantics
2025-10-11 22:29:45 -04:00
8f15aa311f
fix: Fix --debug-cutoff-height semantics
...
NOTE: This is a debug feature not on by default.
The original intention of it was limiting the highest block number. But it was instead enforcing the starting block number for fetching, leading to block progression.
2025-10-12 02:22:55 +00:00
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
f83326059f
chore: clippy
2025-10-09 08:55:40 +00:00
ca8c374116
feat: Mark migrator as experimental
2025-10-09 08:49:29 +00:00
5ba12a4850
perf: adjust chunk size, do not hold tx too long
2025-10-09 08:20:22 +00:00
8a179a6d9e
perf: Use smaller chunks
2025-10-09 08:13:53 +00:00
d570cf3e8d
fix: Create directory before migration
2025-10-09 08:13:45 +00:00
13b63ff136
feat: add migrator for mdbx as well
2025-10-09 06:35:56 +00:00
233026871f
perf: chunkify block ranges
2025-10-08 13:54:16 +00:00
47aaad6ed9
feat: add migrator
2025-10-08 13:03:51 +00:00
9f73b1ede0
refactor: Move BlockBody from transaction to body
2025-10-06 06:43:17 +00:00
bcdf4d933d
feat(breaking): Use HlHeader for HlPrimitives
2025-10-06 06:21:08 +00:00
2390ed864a
feat(breaking): Use HlHeader for storing header
2025-10-06 06:21:08 +00:00
567d6ce2e4
feat: Introduce HlHeader
2025-10-06 06:21:08 +00:00
8b2c3a4a34
refactor: Move primitives into files
2025-10-06 06:21:08 +00:00
71bb70bca6
fix: Fix panic when block receipts are called on non-existing blocks
2025-10-05 14:54:55 +00:00
4d83b687d4
feat: Add metrics for file read triggered
...
Usually, "Loading block data from ..." shouldn't be shown in logs at all. Add metrics to detect the file read.
2025-10-05 11:28:11 +00:00
12f366573e
fix: Do not increase block counter when no block is read
...
This made ingest loop to infinitely increase the block number
2025-10-05 11:28:11 +00:00
b8bae7cde9
fix: Utillize LruMap better
...
LruMap was introduced to allow getting the same block twice, so removing the item when getting the block doesn't make sense.
2025-10-05 11:28:11 +00:00
0fd4b7943f
refactor: Use offsets instead of lines, wrap related structs in one
2025-10-05 11:28:04 +00:00
bfd61094ee
chore: cargo fmt
2025-10-05 09:58:13 +00:00
de7b524f0b
fix: Fix typo in --local (default hl-node dir)
2025-10-05 04:39:09 -04:00
b55ddc54ad
chore: clippy
2025-10-05 04:04:30 -04: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
3080665702
style: pass clippy check
2025-09-19 13:23:49 +07:00
4896e4f0ea
refactor: use BlockId as block type
2025-09-19 12:41:14 +07:00
458f506ad2
refactor: use BlockHashOrNumber as block type
2025-09-19 12:33:32 +07:00
1c7136bfab
feat(rpc): add HlBlockPrecompile rpc API
2025-09-18 04:57:49 +07:00
45648a7a98
fix: Apply precompiles for eth_call and eth_estimateGas
2025-09-15 02:21:45 -04:00
c9416a3948
fix: Add a manual mapping for testnet
2025-09-14 23:24:00 -04:00
9e3f0c722e
chore: Upgrade to reth v1.7.0
2025-09-11 19:25:48 -04:00
66c2ee654c
feat: Add block source metrics
2025-09-11 18:50:22 -04:00
701e6a25e6
refactor: Remove duplications
2025-09-11 18:47:58 -04:00
37b852e810
chore(build): add reth-hl version output
2025-09-09 20:19:52 +07:00
d7992ab8ff
remove: Remove unnecessary trait implementation
2025-09-04 20:38:41 -04:00
b37a30fb37
fix: Fill precompiles in tracing APIs
2025-09-04 20:37:10 -04:00
f6432498d8
refactor: Relax apply_precompiles and expose
2025-09-04 20:37:07 -04:00
5ee9053286
fix: Do not crash when collect_block failed
...
Just gracefully return it as error and log it
2025-08-28 13:47:44 -04: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
74e27b5ee2
refactor(rpc): extract common logic for getting system txs
2025-08-28 16:10:41 +02:00
09fcf0751f
chore(rpc): add eth_getSystemTxsReceiptsByBlockNumber and eth_getSystemTxsReceiptsByBlockNumber rpc method
2025-08-28 15:39:37 +02:00
8f2eca4754
Merge pull request #48 from Quertyy/feat/rpc-block-system-tx
...
chore(rpc): add eth_getEvmSystemTxsByBlockNumber and eth_getEvmSystemTxsByBlockHash rpc methods
2025-08-28 17:45:43 +09:00
707b4fb709
chore(rpc): return types compliance
2025-08-27 10:34:34 +02:00
62dd5a71b5
chore(rpc): change methods name
2025-08-26 22:03:40 +02:00
412c38a8cd
chore(rpc): add eth_getSystemTxsByBlockNumber and eth_getSystemTxsByBlockNumber rpc method
2025-08-26 21:24:28 +02:00
dd2c925af2
fix: Sort hl-node files correctly
2025-08-26 13:47:34 -04:00
52909eea3f
feat: Add --local.fallback-threshold, --s3.polling-interval
2025-08-25 22:27:26 -04:00