@atomiqlabs/chain-starknet 4.0.0-dev.28 → 4.0.0-dev.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -141,12 +141,8 @@ class StarknetPersistentSigner extends StarknetSigner_1.StarknetSigner {
141
141
  newTx.details.resourceBounds.l1_gas.max_price_per_unit = l1GasCost;
142
142
  newTx.details.resourceBounds.l2_gas.max_price_per_unit = l2GasCost;
143
143
  newTx.details.resourceBounds.l1_data_gas.max_price_per_unit = l1DataGasCost;
144
- this.logger.info("checkPastTransactions(): Bump tip to: ", tip);
145
- this.logger.info("checkPastTransactions(): Bump l1Gas to: ", l1GasCost);
146
- this.logger.info("checkPastTransactions(): Bump l2Gas to: ", l2GasCost);
147
- this.logger.info("checkPastTransactions(): Bump l1DataGas to: ", l1DataGasCost);
148
- this.logger.info("checkPastTransactions(): Bump fee for tx: ", lastTx.txId);
149
144
  await this._signTransaction(newTx);
145
+ this.logger.info(`checkPastTransactions(): Bump fee for tx ${lastTx.txId} -> ${newTx.txId}`);
150
146
  //Double check pending txns still has nonce after async signTransaction was called
151
147
  if (!this.pendingTxs.has(nonce))
152
148
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/chain-starknet",
3
- "version": "4.0.0-dev.28",
3
+ "version": "4.0.0-dev.29",
4
4
  "description": "Starknet specific base implementation",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -194,13 +194,9 @@ export class StarknetPersistentSigner extends StarknetSigner {
194
194
  newTx.details.resourceBounds.l1_gas.max_price_per_unit = l1GasCost;
195
195
  newTx.details.resourceBounds.l2_gas.max_price_per_unit = l2GasCost;
196
196
  newTx.details.resourceBounds.l1_data_gas.max_price_per_unit = l1DataGasCost;
197
- this.logger.info("checkPastTransactions(): Bump tip to: ", tip);
198
- this.logger.info("checkPastTransactions(): Bump l1Gas to: ", l1GasCost);
199
- this.logger.info("checkPastTransactions(): Bump l2Gas to: ", l2GasCost);
200
- this.logger.info("checkPastTransactions(): Bump l1DataGas to: ", l1DataGasCost);
201
- this.logger.info("checkPastTransactions(): Bump fee for tx: ", lastTx.txId);
202
197
 
203
198
  await this._signTransaction(newTx);
199
+ this.logger.info(`checkPastTransactions(): Bump fee for tx ${lastTx.txId} -> ${newTx.txId}`);
204
200
 
205
201
  //Double check pending txns still has nonce after async signTransaction was called
206
202
  if(!this.pendingTxs.has(nonce)) continue;