[Feature] Add helper for eth_estimate gas
オープン
enhancement
- 主要言語
- Rust
- スター
- 83
- フォーク
- 106
- 平均マージ
- 36分
- マージ済み PR(30日)
- 2
説明
### Describe the feature you would like
gas estimation is super cursed
so cursed that we currently maintain at least 3 impls:
https://github.com/paradigmxyz/reth/blob/74351d98e906b8af5f118694529fb2b71d316946/crates/rpc/rpc-eth-api/src/helpers/estimate.rs#L40-L49
https://github.com/foundry-rs/foundry/blob/eb76d29cd61e3696440b43461bff713d89706385/crates/anvil/src/eth/api.rs#L3076-L3081
and somewhere else in foundry
ideally with have at least part of this logic encapsulated in some reusable helpers
tho unsure if this is even feasible
the reth impl is the most accurate one and should probably use as reference impl, if possible
### Additional context
_No response_
コントリビューションガイド
評価
この issue はまだ評価されていません。