FuelLabs/fuels-rs

Enable setting a static gas price via NodeConfig

Open

#1,581 opened on Jan 16, 2025

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (43,211 stars) (1,360 forks)batch import
enhancementgood first issue

Description

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.

Contributor guide