Skip to content

Commit daa7162

Browse files
committed
Merge branch 'feat/next' into multisig
2 parents 6ef32e0 + 05bb9d9 commit daa7162

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

multiversx_sdk_cli/cli_contracts.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ def deploy(args: Any):
373373
payable=args.metadata_payable,
374374
payable_by_sc=args.metadata_payable_by_sc,
375375
gas_limit=int(args.gas_limit),
376+
gas_price=int(args.gas_price),
376377
value=int(args.value),
377378
nonce=sender.nonce,
378379
version=int(args.version),
@@ -423,6 +424,7 @@ def call(args: Any):
423424
arguments=arguments,
424425
should_prepare_args=should_prepare_args,
425426
gas_limit=int(args.gas_limit),
427+
gas_price=int(args.gas_price),
426428
value=int(args.value),
427429
token_transfers=token_transfers,
428430
nonce=sender.nonce,
@@ -468,6 +470,7 @@ def upgrade(args: Any):
468470
payable=args.metadata_payable,
469471
payable_by_sc=args.metadata_payable_by_sc,
470472
gas_limit=int(args.gas_limit),
473+
gas_price=int(args.gas_price),
471474
value=int(args.value),
472475
nonce=sender.nonce,
473476
version=int(args.version),

multiversx_sdk_cli/contracts.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def prepare_deploy_transaction(
5353
payable: bool,
5454
payable_by_sc: bool,
5555
gas_limit: int,
56+
gas_price: int,
5657
value: int,
5758
nonce: int,
5859
version: int,
@@ -77,6 +78,7 @@ def prepare_deploy_transaction(
7778
tx.nonce = nonce
7879
tx.version = version
7980
tx.options = options
81+
tx.gas_price = gas_price
8082
tx.guardian = guardian_and_relayer_data.guardian_address
8183
tx.relayer = guardian_and_relayer_data.relayer_address
8284

@@ -99,6 +101,7 @@ def prepare_execute_transaction(
99101
arguments: Union[list[Any], None],
100102
should_prepare_args: bool,
101103
gas_limit: int,
104+
gas_price: int,
102105
value: int,
103106
token_transfers: Union[list[TokenTransfer], None],
104107
nonce: int,
@@ -122,6 +125,7 @@ def prepare_execute_transaction(
122125
tx.nonce = nonce
123126
tx.version = version
124127
tx.options = options
128+
tx.gas_price = gas_price
125129
tx.guardian = guardian_and_relayer_data.guardian_address
126130
tx.relayer = guardian_and_relayer_data.relayer_address
127131

@@ -148,6 +152,7 @@ def prepare_upgrade_transaction(
148152
payable: bool,
149153
payable_by_sc: bool,
150154
gas_limit: int,
155+
gas_price: int,
151156
value: int,
152157
nonce: int,
153158
version: int,
@@ -173,6 +178,7 @@ def prepare_upgrade_transaction(
173178
tx.nonce = nonce
174179
tx.version = version
175180
tx.options = options
181+
tx.gas_price = gas_price
176182
tx.guardian = guardian_and_relayer_data.guardian_address
177183
tx.relayer = guardian_and_relayer_data.relayer_address
178184

0 commit comments

Comments
 (0)