From 134b203511a445ae9d438a913bd7debf1bc01e2f Mon Sep 17 00:00:00 2001 From: Sophie Date: Tue, 22 Aug 2023 13:31:44 -0700 Subject: [PATCH] set default to 0 --- forc-plugins/forc-tx/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/forc-plugins/forc-tx/src/lib.rs b/forc-plugins/forc-tx/src/lib.rs index dded3cd78cf..66b0360f3af 100644 --- a/forc-plugins/forc-tx/src/lib.rs +++ b/forc-plugins/forc-tx/src/lib.rs @@ -102,11 +102,9 @@ pub struct Script { pub struct Gas { /// Gas price for the transaction. #[clap(long = "gas-price", default_value_t = 0)] - #[devault("0")] pub price: u64, /// Gas limit for the transaction. - #[clap(long = "gas-limit", default_value_t = fuel_tx::ConsensusParameters::DEFAULT.max_gas_per_tx)] - #[devault("fuel_tx::ConsensusParameters::DEFAULT.max_gas_per_tx")] + #[clap(long = "gas-limit", default_value_t = 0)] pub limit: u64, }