aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/entities
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pipeline/src/entities')
-rw-r--r--packages/pipeline/src/entities/Transaction.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/pipeline/src/entities/Transaction.ts b/packages/pipeline/src/entities/Transaction.ts
index d89d44746..8a68da813 100644
--- a/packages/pipeline/src/entities/Transaction.ts
+++ b/packages/pipeline/src/entities/Transaction.ts
@@ -6,6 +6,8 @@ export class Transaction {
@PrimaryColumn() public blockHash!: string;
@PrimaryColumn() public blockNumber!: number;
- @Column() public gasUsed!: number;
- @Column() public gasPrice!: number;
+ @Column({ type: 'bigint' })
+ public gasUsed!: number;
+ @Column({ type: 'bigint' })
+ public gasPrice!: number;
}