parse_gas_limit

Function parse_gas_limit 

Source
pub(crate) fn parse_gas_limit(s: &str) -> Result<u64>
Expand description

Parses a gas limit value with optional suffix: K for thousand, M for million, G for billion.

Examples: “30000000”, “30M”, “1G”, “2G”