FuelLabs/fuels-rs

Enable setting a static gas price via NodeConfig

Open

Aperta il 16 gen 2025

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Rust (43.211 star) (1360 fork)batch import
enhancementgood first issue

Descrizione

In addition to setting starting_gas_price the node also requires us to pass --gas-price-change-percent 0 for the set price to remain static. We should forward this parameter through our NodeConfig and update the can_setup_static_gas_price to test to verify that the price remains stable after producing a block.

Guida contributor