chore: lint fixes
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
) { }
|
||||
) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user