starknet-devnet-rs icon indicating copy to clipboard operation
starknet-devnet-rs copied to clipboard

Gas price CLI params should be renamed

Open FabijanC opened this issue 7 months ago • 1 comments

Proposal

Current CLI param Proposed action
--gas-price rename to --l1-gas-price
--data-gas-price rename to --l1-data-gas-price
--l2-gas-price keep
--gas-price-fri remove
--l2-gas-price-fri remove
--data-gas-price-fri remove

All prices should be in FRI (STRK)

FabijanC avatar Apr 29 '25 08:04 FabijanC

Important notice

Wei prices must remain because they are used in msg-from-l1 estimation. Last week's proposal:

Proposal 2

Mentions of wei and fri can be removed from parameter names:

Current CLI param Proposed action
--gas-price rename to --l1-gas-price
--data-gas-price rename to --l1-data-gas-price
--l2-gas-price keep
--gas-price-fri rename to --messaging-l1-gas-price
--l2-gas-price-fri rename to --messaging-l1-gas-price
--data-gas-price-fri rename to --messaging-l1-gas-price

FabijanC avatar Jun 02 '25 13:06 FabijanC