[Feature] Preventing calls to eth_gettransactionreceipt

オープン
#5,891 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
blockchain, rust

調査の方向性

まず、graph-node における eth_getblockreceipts の機能検出の処理と、eth_gettransactionreceipt へのフォールバックを追跡します。Provider がフォールバックを拒否できる方法と、eth_getblockreceipts が利用できない場合にどのようなインデックス作成動作にすべきかを定義し、Provider の機能検出とインデックス作成の停止をテストして動作を確認します。

索引モデルが issue の本文から書いたものです。

説明

area/json-rpc enhancement Stale
Description

Hello,

Since the graph-node is supporting eth_getblockreceipts, it is possible to use common node providers at an affordable cost.
In order to prevent the bill to explode because the indexer for some reason failed to detect the eth_getblockreceipts availability, I don't want to use eth_gettransactionreceipt, I prefer stop indexing for this provider.

Im' in stress every time the indexer restarts, I have to watch if the eth_getblockreceipts is detected because sometimes, for some reasons it isn't.

Do you think it's possible to prevent eth_gettransactionreceipt ?

Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.

No response

Some information to help us out
  • Tick this box if you plan on implementing this feature yourself.
  • I have searched the issue tracker to make sure this issue is not a duplicate.
主要言語
Rust
スター
3.2k
フォーク
1.1k
平均マージ
4日 1時間
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

graphprotocol/graph-node のほかの issue

graphprotocol/graph-node の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。