starknet-devnet-rs
starknet-devnet-rs copied to clipboard
Gas price CLI params should be renamed
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)
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 |