In the era-test-node project, we've encountered an issue relating to the fact that the estimation gas scale factors we use are hardcoded. However, as these values differ between different networks and deployments we ideally need a way to dynamically procure these values from the upstream source.
🌟 Feature Request
📝 Description
Add an API endpoint that exposes the following environment variables:
API_WEB3_JSON_RPC_ESTIMATE_GAS_SCALE_FACTOR
API_WEB3_JSON_RPC_ESTIMATE_GAS_ACCEPTABLE_OVERESTIMATION
API_WEB3_JSON_RPC_GAS_PRICE_SCALE_FACTOR
🤔 Rationale
In the era-test-node project, we've encountered an issue relating to the fact that the estimation gas scale factors we use are hardcoded. However, as these values differ between different networks and deployments we ideally need a way to dynamically procure these values from the upstream source.