@@ -51,6 +51,7 @@ export class MultisigController extends BaseController {
5151 nonce : bigint ,
5252 options : resources . DeployMultisigContractInput & BaseControllerInput ,
5353 ) : Promise < Transaction > {
54+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
5455 const transaction = await this . multisigFactory . createTransactionForDeploy ( sender . address , options ) ;
5556
5657 transaction . guardian = options . guardian ?? Address . empty ( ) ;
@@ -318,6 +319,7 @@ export class MultisigController extends BaseController {
318319 nonce : bigint ,
319320 options : resources . ProposeAddBoardMemberInput & BaseControllerInput ,
320321 ) : Promise < Transaction > {
322+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
321323 const transaction = await this . multisigFactory . createTransactionForProposeAddBoardMember (
322324 sender . address ,
323325 options ,
@@ -336,6 +338,7 @@ export class MultisigController extends BaseController {
336338 nonce : bigint ,
337339 options : resources . ProposeAddProposerInput & BaseControllerInput ,
338340 ) : Promise < Transaction > {
341+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
339342 const transaction = await this . multisigFactory . createTransactionForProposeAddProposer ( sender . address , options ) ;
340343
341344 await this . setupAndSignTransaction ( transaction , options , nonce , sender ) ;
@@ -351,6 +354,7 @@ export class MultisigController extends BaseController {
351354 nonce : bigint ,
352355 options : resources . ProposeRemoveUserInput & BaseControllerInput ,
353356 ) : Promise < Transaction > {
357+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
354358 const transaction = await this . multisigFactory . createTransactionForProposeRemoveUser ( sender . address , options ) ;
355359
356360 await this . setupAndSignTransaction ( transaction , options , nonce , sender ) ;
@@ -366,6 +370,7 @@ export class MultisigController extends BaseController {
366370 nonce : bigint ,
367371 options : resources . ProposeChangeQuorumInput & BaseControllerInput ,
368372 ) : Promise < Transaction > {
373+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
369374 const transaction = await this . multisigFactory . createTransactionForProposeChangeQuorum ( sender . address , options ) ;
370375
371376 await this . setupAndSignTransaction ( transaction , options , nonce , sender ) ;
@@ -390,6 +395,7 @@ export class MultisigController extends BaseController {
390395 nonce : bigint ,
391396 options : resources . ActionInput & BaseControllerInput ,
392397 ) : Promise < Transaction > {
398+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
393399 const transaction = await this . multisigFactory . createTransactionForSignAction ( sender . address , options ) ;
394400
395401 await this . setupAndSignTransaction ( transaction , options , nonce , sender ) ;
@@ -405,6 +411,7 @@ export class MultisigController extends BaseController {
405411 nonce : bigint ,
406412 options : resources . ActionInput & BaseControllerInput ,
407413 ) : Promise < Transaction > {
414+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
408415 const transaction = await this . multisigFactory . createTransactionForPerformAction ( sender . address , options ) ;
409416
410417 await this . setupAndSignTransaction ( transaction , options , nonce , sender ) ;
@@ -429,6 +436,7 @@ export class MultisigController extends BaseController {
429436 nonce : bigint ,
430437 options : resources . ActionInput & BaseControllerInput ,
431438 ) : Promise < Transaction > {
439+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
432440 const transaction = await this . multisigFactory . createTransactionForUnsign ( sender . address , options ) ;
433441
434442 await this . setupAndSignTransaction ( transaction , options , nonce , sender ) ;
@@ -444,6 +452,7 @@ export class MultisigController extends BaseController {
444452 nonce : bigint ,
445453 options : resources . ActionInput & BaseControllerInput ,
446454 ) : Promise < Transaction > {
455+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
447456 const transaction = await this . multisigFactory . createTransactionForDiscardAction ( sender . address , options ) ;
448457
449458 await this . setupAndSignTransaction ( transaction , options , nonce , sender ) ;
@@ -459,6 +468,7 @@ export class MultisigController extends BaseController {
459468 nonce : bigint ,
460469 options : resources . DepositExecuteInput & BaseControllerInput ,
461470 ) : Promise < Transaction > {
471+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
462472 const transaction = await this . multisigFactory . createTransactionForDeposit ( sender . address , options ) ;
463473
464474 await this . setupAndSignTransaction ( transaction , options , nonce , sender ) ;
@@ -474,6 +484,7 @@ export class MultisigController extends BaseController {
474484 nonce : bigint ,
475485 options : resources . ProposeTransferExecuteInput & BaseControllerInput ,
476486 ) : Promise < Transaction > {
487+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
477488 const transaction = await this . multisigFactory . createTransactionForProposeTransferExecute (
478489 sender . address ,
479490 options ,
@@ -492,6 +503,7 @@ export class MultisigController extends BaseController {
492503 nonce : bigint ,
493504 options : resources . ProposeTransferExecuteEsdtInput & BaseControllerInput ,
494505 ) : Promise < Transaction > {
506+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
495507 const transaction = await this . multisigFactory . createTransactionForProposeTransferExecuteEsdt (
496508 sender . address ,
497509 options ,
@@ -510,6 +522,7 @@ export class MultisigController extends BaseController {
510522 nonce : bigint ,
511523 options : resources . ProposeAsyncCallInput & BaseControllerInput ,
512524 ) : Promise < Transaction > {
525+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
513526 const transaction = await this . multisigFactory . createTransactionForProposeAsyncCall ( sender . address , options ) ;
514527
515528 await this . setupAndSignTransaction ( transaction , options , nonce , sender ) ;
@@ -525,6 +538,7 @@ export class MultisigController extends BaseController {
525538 nonce : bigint ,
526539 options : resources . ProposeContractDeployFromSourceInput & BaseControllerInput ,
527540 ) : Promise < Transaction > {
541+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
528542 const transaction = await this . multisigFactory . createTransactionForProposeContractDeployFromSource (
529543 sender . address ,
530544 options ,
@@ -543,6 +557,7 @@ export class MultisigController extends BaseController {
543557 nonce : bigint ,
544558 options : resources . ProposeContractUpgradeFromSourceInput & BaseControllerInput ,
545559 ) : Promise < Transaction > {
560+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
546561 const transaction = await this . multisigFactory . createTransactionForProposeContractUpgradeFromSource (
547562 sender . address ,
548563 options ,
@@ -561,6 +576,7 @@ export class MultisigController extends BaseController {
561576 nonce : bigint ,
562577 options : resources . GroupInput & BaseControllerInput ,
563578 ) : Promise < Transaction > {
579+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
564580 const transaction = await this . multisigFactory . createTransactionForSignBatch ( sender . address , options ) ;
565581
566582 await this . setupAndSignTransaction ( transaction , options , nonce , sender ) ;
@@ -576,6 +592,7 @@ export class MultisigController extends BaseController {
576592 nonce : bigint ,
577593 options : resources . ActionInput & BaseControllerInput ,
578594 ) : Promise < Transaction > {
595+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
579596 const transaction = await this . multisigFactory . createTransactionForSignAndPerform ( sender . address , options ) ;
580597
581598 await this . setupAndSignTransaction ( transaction , options , nonce , sender ) ;
@@ -591,6 +608,7 @@ export class MultisigController extends BaseController {
591608 nonce : bigint ,
592609 options : resources . UnsignForOutdatedBoardMembersInput & BaseControllerInput ,
593610 ) : Promise < Transaction > {
611+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
594612 const transaction = await this . multisigFactory . createTransactionForUnsignForOutdatedBoardMembers (
595613 sender . address ,
596614 options ,
@@ -609,6 +627,7 @@ export class MultisigController extends BaseController {
609627 nonce : bigint ,
610628 options : resources . GroupInput & BaseControllerInput ,
611629 ) : Promise < Transaction > {
630+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
612631 const transaction = await this . multisigFactory . createTransactionForPerformBatch ( sender . address , options ) ;
613632
614633 await this . setupAndSignTransaction ( transaction , options , nonce , sender ) ;
@@ -624,6 +643,7 @@ export class MultisigController extends BaseController {
624643 nonce : bigint ,
625644 options : resources . DiscardBatchInput & BaseControllerInput ,
626645 ) : Promise < Transaction > {
646+ options . gasLimit = options . gasLimit ? options . gasLimit : 0n ;
627647 const transaction = await this . multisigFactory . createTransactionForDiscardBatch ( sender . address , options ) ;
628648
629649 await this . setupAndSignTransaction ( transaction , options , nonce , sender ) ;
0 commit comments