@@ -538,6 +538,11 @@ func (b *Txm[CID, HEAD, ADDR, THASH, BHASH, R, SEQ, FEE]) Trigger(addr ADDR) {
538538
539539// CreateTransaction inserts a new transaction
540540func (b * Txm [CID , HEAD , ADDR , THASH , BHASH , R , SEQ , FEE ]) CreateTransaction (ctx context.Context , txRequest txmgrtypes.TxRequest [ADDR , THASH ]) (tx txmgrtypes.Tx [CID , ADDR , THASH , BHASH , SEQ , FEE ], err error ) {
541+ b .logger .Infow ("DEBUG CreateTransaction entry" ,
542+ "txRequest.MaxGasPrice" , txRequest .MaxGasPrice ,
543+ "maxGasPriceIsNil" , txRequest .MaxGasPrice == nil ,
544+ "idempotencyKey" , txRequest .IdempotencyKey )
545+
541546 // Check for existing Tx with IdempotencyKey. If found, return the Tx and do nothing
542547 // Skipping CreateTransaction to avoid double send
543548 if b .txmv2wrapper != nil && txRequest .Meta != nil && txRequest .Meta .DualBroadcast != nil && * txRequest .Meta .DualBroadcast {
@@ -903,10 +908,20 @@ func (b *Txm[CID, HEAD, ADDR, THASH, BHASH, R, SEQ, FEE]) pruneQueueAndCreateTxn
903908 )
904909 }
905910
911+ b .logger .Infow ("DEBUG pruneQueueAndCreateTxn BEFORE CreateTransaction" ,
912+ "txRequest.MaxGasPrice" , txRequest .MaxGasPrice ,
913+ "maxGasPriceIsNil" , txRequest .MaxGasPrice == nil )
914+
906915 tx , err = b .txStore .CreateTransaction (ctx , txRequest , chainID )
907916 if err != nil {
908917 return tx , err
909918 }
919+
920+ b .logger .Infow ("DEBUG pruneQueueAndCreateTxn AFTER CreateTransaction" ,
921+ "tx.ID" , tx .ID ,
922+ "tx.MaxGasPrice" , tx .MaxGasPrice ,
923+ "maxGasPriceIsNil" , tx .MaxGasPrice == nil )
924+
910925 b .logger .Debugw ("Created transaction" ,
911926 "fromAddress" , txRequest .FromAddress ,
912927 "toAddress" , txRequest .ToAddress ,
0 commit comments