Skip to content

Commit

Permalink
style: resolve style guide violations
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastijankuzner authored and github-actions[bot] committed Sep 30, 2024
1 parent 0207f93 commit 347e2a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion packages/contracts/source/contracts/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,4 @@ export interface TransactionValidator {
validate(context: TransactionValidatorContext, transaction: Transaction): Promise<TransactionReceipt>;
}


export type TransactionValidatorFactory = () => TransactionValidator;
5 changes: 1 addition & 4 deletions packages/processor/source/transaction-processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ export class TransactionProcessor implements Contracts.Processor.TransactionProc

const receipt = await transactionHandler.apply(transactionHandlerContext, transaction);

const feeConsumed = this.gasFeeCalculator.calculateConsumed(
transaction.data.fee,
Number(receipt.gasUsed),
);
const feeConsumed = this.gasFeeCalculator.calculateConsumed(transaction.data.fee, Number(receipt.gasUsed));
this.logger.debug(
`executed EVM call (success=${receipt.success}, gasUsed=${receipt.gasUsed} paidNativeFee=${Utils.formatCurrency(this.configuration, feeConsumed)} deployed=${receipt.deployedContractAddress})`,
);
Expand Down

0 comments on commit 347e2a7

Please sign in to comment.