okx / xlayer-erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
14 stars 3 forks source link

add gas price cache #46

Closed chengzhinei closed 2 weeks ago

sieniven commented 3 weeks ago

Passing around pointers can potentially be a very dangerous route that should be handled carefully :) This way we safeguard against this, and avoid changing too much of the default factory method APIs across various pipelines.