fc819dbba2
test: Add regression tests
2025-10-11 02:52:09 +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
852e186b1a
Merge pull request #88 from hl-archive-node/hotfix
...
hotfix: Mark migrator experimantal
2025-10-09 04:55:53 -04:00
f83326059f
chore: clippy
nb-20251009-fix
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
0e49e65068
Merge pull request #86 from hl-archive-node/breaking/hl-header
...
feat(breaking): Use custom header format (HlHeader)
nb-20251009
2025-10-09 02:51:09 -04: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
7e169d409d
chore: Change branch to v1.8.2-fork-hl-header
2025-10-08 13:04:11 +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
92759f04db
Merge pull request #84 from hl-archive-node/fix/no-panic
...
fix: Fix panic when block receipts are called on non-existing blocks
2025-10-05 19:47:22 -04:00
71bb70bca6
fix: Fix panic when block receipts are called on non-existing blocks
2025-10-05 14:54:55 +00:00
5327ebc97a
Merge pull request #82 from hl-archive-node/fix/local-reader
...
fix(local-ingest-dir): Use more robust resumption for hl-node line reader, fix block number increment for reading files
nb-20251005
2025-10-05 07:36:32 -04: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
3b33b0a526
Merge pull request #81 from hl-archive-node/fix/typo-local
...
fix: Fix typo in --local (default hl-node dir)
2025-10-05 05:54:35 -04:00
de7b524f0b
fix: Fix typo in --local (default hl-node dir)
2025-10-05 04:39:09 -04:00
24f2460337
Merge pull request #80 from hl-archive-node/chore/v1.8.2
...
chore: Upgrade to reth v1.8.2
2025-10-05 04:38:54 -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
ae0cb0da6d
chore: Move sprites0/reth to hl-archive-node/reth
2025-10-05 03:56:23 -04:00
8605be9864
chore: Upgrade to reth v1.8.2
2025-10-05 03:56:23 -04:00
c93ff90f94
Merge pull request #79 from hl-archive-node/fix/issue-78
...
fix: Do not filter out logs based on bloom (which is for perf optimization)
2025-10-05 00:43:20 -04:00
ce64e00e2f
fix: Do not filter out logs based on bloom (which is for perf optimization)
...
Resolves #78
2025-10-05 00:33:44 -04:00
8d8da57d3a
Merge pull request #77 from hl-archive-node/feat/cutoff-latest
...
feat: Add debug CLI flag to enforce latest blocks (--debug-cutoff-height)
2025-10-02 10:57:04 -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
b37ba15765
Merge pull request #74 from Quertyy/feat/block-precompila-data-rpc-method
...
feat(rpc): add HlBlockPrecompile rpc API
2025-09-19 02:42:21 -04: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
491e902904
Merge pull request #69 from hl-archive-node/fix/call-and-estimate
...
fix: Apply precompiles for eth_call and eth_estimateGas
nb-20250915
2025-09-15 02:22:21 -04:00
45648a7a98
fix: Apply precompiles for eth_call and eth_estimateGas
2025-09-15 02:21:45 -04:00
c87c5a055a
Merge pull request #68 from hl-archive-node/fix/testnet-token
...
fix: Add a manual mapping for testnet
2025-09-14 23:31:19 -04:00
c9416a3948
fix: Add a manual mapping for testnet
2025-09-14 23:24:00 -04:00
db10c23c56
Merge pull request #66 from hl-archive-node/feat/nb-release
...
fix: Fix tag format
2025-09-13 16:48:00 -04:00
fc395123f3
fix: Fix tag format
2025-09-13 16:47:05 -04:00
84ea1af682
Merge pull request #64 from sentioxyz/node-builder
...
fix docker build args
2025-09-13 16:43:35 -04:00
bd3e0626ed
fix docker build args
2025-09-13 15:28:36 +08:00