From 1b54dd124a6fee50c8530cf8244d68cb6ce58182 Mon Sep 17 00:00:00 2001 From: Vasyl Ivanchuk Date: Tue, 5 Nov 2024 13:58:55 +0200 Subject: [PATCH] chore: add a comment about nullable tx receipt root field --- packages/worker/src/entities/transactionReceipt.entity.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/worker/src/entities/transactionReceipt.entity.ts b/packages/worker/src/entities/transactionReceipt.entity.ts index 1d74eaf05..dd3bc03a5 100644 --- a/packages/worker/src/entities/transactionReceipt.entity.ts +++ b/packages/worker/src/entities/transactionReceipt.entity.ts @@ -34,6 +34,8 @@ export class TransactionReceipt extends CountableEntity { @Column({ type: "int" }) public readonly type: number; + // this field is only relevant on L1 pre byzantium fork (EIP658), + // but was present in ZKsync API before, so it cannot be just dropped. @Column({ type: "bytea", transformer: hexTransformer, nullable: true }) public readonly root?: string;