Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions multiversx_sdk_cli/cli_contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ def deploy(args: Any):
payable=args.metadata_payable,
payable_by_sc=args.metadata_payable_by_sc,
gas_limit=int(args.gas_limit),
gas_price=int(args.gas_price),
value=int(args.value),
nonce=sender.nonce,
version=int(args.version),
Expand Down Expand Up @@ -419,6 +420,7 @@ def call(args: Any):
arguments=arguments,
should_prepare_args=should_prepare_args,
gas_limit=int(args.gas_limit),
gas_price=int(args.gas_price),
value=int(args.value),
transfers=args.token_transfers,
nonce=sender.nonce,
Expand Down Expand Up @@ -464,6 +466,7 @@ def upgrade(args: Any):
payable=args.metadata_payable,
payable_by_sc=args.metadata_payable_by_sc,
gas_limit=int(args.gas_limit),
gas_price=int(args.gas_price),
value=int(args.value),
nonce=sender.nonce,
version=int(args.version),
Expand Down
6 changes: 6 additions & 0 deletions multiversx_sdk_cli/contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def prepare_deploy_transaction(
payable: bool,
payable_by_sc: bool,
gas_limit: int,
gas_price: int,
value: int,
nonce: int,
version: int,
Expand All @@ -94,6 +95,7 @@ def prepare_deploy_transaction(
tx.nonce = nonce
tx.version = version
tx.options = options
tx.gas_price = gas_price
tx.guardian = guardian_and_relayer_data.guardian_address
tx.relayer = guardian_and_relayer_data.relayer_address

Expand All @@ -116,6 +118,7 @@ def prepare_execute_transaction(
arguments: Union[list[Any], None],
should_prepare_args: bool,
gas_limit: int,
gas_price: int,
value: int,
transfers: Union[list[str], None],
nonce: int,
Expand All @@ -141,6 +144,7 @@ def prepare_execute_transaction(
tx.nonce = nonce
tx.version = version
tx.options = options
tx.gas_price = gas_price
tx.guardian = guardian_and_relayer_data.guardian_address
tx.relayer = guardian_and_relayer_data.relayer_address

Expand All @@ -167,6 +171,7 @@ def prepare_upgrade_transaction(
payable: bool,
payable_by_sc: bool,
gas_limit: int,
gas_price: int,
value: int,
nonce: int,
version: int,
Expand All @@ -192,6 +197,7 @@ def prepare_upgrade_transaction(
tx.nonce = nonce
tx.version = version
tx.options = options
tx.gas_price = gas_price
tx.guardian = guardian_and_relayer_data.guardian_address
tx.relayer = guardian_and_relayer_data.relayer_address

Expand Down
Loading