fix: caching state - store latest value

This commit is contained in:
ppe
2023-02-21 17:21:05 +01:00
committed by just_ppe
parent 7e153f5e40
commit e8b3002b19
4 changed files with 15899 additions and 56 deletions

View File

@@ -211,7 +211,7 @@ export class HandlerBasedContract<State> implements Contract<State> {
input: Input,
interactionTx: GQLNodeInterface
): Promise<InteractionResult<State, View>> {
this.logger.info(`View state for ${this._contractTxId}`, interactionTx);
this.logger.info(`View state for ${this._contractTxId}`);
return await this.doApplyInputOnTx<Input, View>(input, interactionTx);
}