We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8b9d38 commit 9dba2ddCopy full SHA for 9dba2dd
1 file changed
packages/randomness-service/src/db/types.ts
@@ -2,7 +2,9 @@ import type { Hex, UUID } from "@happychain/common"
2
import type { CommitmentInfo } from "../CommitmentManager"
3
4
export interface CommitmentInfoTable {
5
+ // The timestamp is stored as a number because Kisely automatically converts bigint to number
6
timestamp: number
7
+ // The value is stored as a string because it can be a large number bigger than the max value of an SQLite integer
8
value: string
9
commitment: Hex
10
transactionIntentId: UUID
0 commit comments