Skip to content

Commit

Permalink
chore: add a comment about nullable tx receipt root field
Browse files Browse the repository at this point in the history
  • Loading branch information
vasyl-ivanchuk committed Nov 5, 2024
1 parent b77d3dc commit 1b54dd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/worker/src/entities/transactionReceipt.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1b54dd1

Please sign in to comment.