chore: lint fixes

This commit is contained in:
asiaziola
2023-02-27 10:49:23 +01:00
parent 6d0b45b3af
commit c992149b34
2 changed files with 8 additions and 8 deletions

View File

@@ -506,11 +506,11 @@ export class HandlerBasedContract<State> implements Contract<State> {
sortedInteractions = interactions
? interactions
: await interactionsLoader.load(
contractTxId,
cachedState?.sortKey,
this.getToSortKey(upToSortKey),
contractEvaluationOptions
);
contractTxId,
cachedState?.sortKey,
this.getToSortKey(upToSortKey),
contractEvaluationOptions
);
// (2) ...but we still need to return only interactions up to original "upToSortKey"
if (cachedState?.sortKey) {

View File

@@ -45,7 +45,7 @@ export class ContractCallRecord {
export class InteractionCall {
interactionOutput: InteractionOutput;
private constructor(readonly interactionInput: InteractionInput) { }
private constructor(readonly interactionInput: InteractionInput) {}
static create(interactionInput: InteractionInput): InteractionCall {
return new InteractionCall(interactionInput);
@@ -67,7 +67,7 @@ export class InteractionInput {
public readonly functionArguments: [],
public readonly dryWrite: boolean,
public readonly foreignContractCalls: { [key: string]: ContractCallRecord } = {}
) { }
) {}
}
export class InteractionOutput {
@@ -79,5 +79,5 @@ export class InteractionOutput {
public readonly valid: boolean,
public readonly errorMessage: string = '',
public readonly gasUsed: number
) { }
) {}
}