graphprotocol / graphprotocol/graph-node
eth_getBlockByHash RPC call failed
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Rust
- Star
- 3.2k
- Fork
- 1.1k
- Merge trung bình
- 4 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
Do you want to request a feature or report a bug?
bug
What is the current behavior?
using v0.26.0 docker image, graph-node fails with:
Apr 09 23:32:01.095 WARN Trying again after load block 0x7a35…fb8a failed (attempt #10) with result Err(Decoder error: Error("invalid length 64, expected a (both 0x-prefixed or not) hex string with length of 40", line: 0, column: 0)), sgd: 1, subgraph_id: QmXiZ4ZeVSCCdo3jHpj1oeGXtPPirfRSXjNXGjAJAnrCpr, component: BlockStream
Apr 09 23:32:01.100 ERRO Subgraph instance failed to run: Decoder error: Error("invalid length 64, expected a (both 0x-prefixed or not) hex string with length of 40", line: 0, column: 0), sgd: 1, subgraph_id: QmXiZ4ZeVSCCdo3jHpj1oeGXtPPirfRSXjNXGjAJAnrCpr, component: SubgraphInstanceManager
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
using alchemy archive node as the mainnet url in docker compose
What is the expected behavior?
not failing
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lỗi từ Docker image v0.26.0 với một archive node của Alchemy và kiểm tra lệnh gọi eth_getBlockByHash do component BlockStream báo cáo. Công việc hoàn tất khi cùng block đó được tải mà không gặp decoder error và subgraph tiếp tục chạy.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- docker
- Lĩnh vực
- api, blockchain
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100