Model STs in Persistence #807
Annotations
30 errors
|
lint
Argument of type '[{ tx: { hash: string; methodId: string; sender: string; nonce: string; argsFields: string[]; auxiliaryData: string[]; signature_r: string; signature_s: string; isMessage: boolean; }; } & { status: boolean; statusMessage: string | null; events: JsonValue; txHash: string; blockHash: string; }, { ...; }]' is not assignable to parameter of type '[Omit<{ status: boolean; statusMessage: string | null; events: JsonValue; txHash: string; blockHash: string; }, "blockHash">, { hash: string; methodId: string; sender: string; ... 5 more ...; isMessage: boolean; }, [...][]]'.
|
|
lint
Argument of type '{ result: { blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; } | null; transactions: ({ ...; } & { ...; })[]; } & { ...; }' is not assignable to parameter of type '[{ height: number; hash: string; transactionsHash: string; beforeNetworkState: JsonValue; duringNetworkState: JsonValue; fromEternalTransactionsHash: string; ... 6 more ...; batchHeight: number | null; }, [...][]]'.
|
|
lint
Argument of type '{ blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }' is not assignable to parameter of type '[{ blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }, [Omit<{ id: number; txExecutionResultId: string | null; blockId: string | null; blockResultId: string | null; applied: boolean; }, "id" | ... 2 more ... | "blockResu...'.
|
|
lint
Type '{ beforeBlockStateTransitions: Prisma.InputJsonArray; beforeNetworkState: Prisma.InputJsonObject; duringNetworkState: Prisma.InputJsonObject; transactions: { ...; }; ... 37 more ...; at(index: number): [...][] | ... 1 more ... | undefined; }' is not assignable to type '(Without<BlockCreateInput, BlockUncheckedCreateInput> & BlockUncheckedCreateInput) | (Without<...> & BlockCreateInput)'.
|
|
lint
Property 'beforeBlockStateTransitions' does not exist on type '[{ height: number; hash: string; transactionsHash: string; beforeNetworkState: JsonValue; duringNetworkState: JsonValue; fromEternalTransactionsHash: string; ... 6 more ...; batchHeight: number | null; }, [...][]]'.
|
|
lint
Property 'beforeNetworkState' does not exist on type '[{ height: number; hash: string; transactionsHash: string; beforeNetworkState: JsonValue; duringNetworkState: JsonValue; fromEternalTransactionsHash: string; ... 6 more ...; batchHeight: number | null; }, [...][]]'.
|
|
lint
Property 'duringNetworkState' does not exist on type '[{ height: number; hash: string; transactionsHash: string; beforeNetworkState: JsonValue; duringNetworkState: JsonValue; fromEternalTransactionsHash: string; ... 6 more ...; batchHeight: number | null; }, [...][]]'.
|
|
lint
Property 'afterNetworkState' does not exist on type '[{ blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }, [Omit<{ id: number; txExecutionResultId: string | null; blockId: string | null; blockResultId: string | null; applied: boolean; }, "id" | ... 2 more ... | "blockResu...'.
|
|
lint
Property 'blockHashWitness' does not exist on type '[{ blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }, [Omit<{ id: number; txExecutionResultId: string | null; blockId: string | null; blockResultId: string | null; applied: boolean; }, "id" | ... 2 more ... | "blockResu...'.
|
|
lint
Type '{ afterNetworkState: Prisma.InputJsonValue; blockHashWitness: Prisma.InputJsonValue; afterBlockStateTransitions: Prisma.InputJsonValue; stateRoot: any; blockHash: any; blockHashRoot: any; witnessedRoots: any; }' is not assignable to type '(Without<BlockResultCreateInput, BlockResultUncheckedCreateInput> & BlockResultUncheckedCreateInput) | (Without<...> & BlockResultCreateInput)'.
|
|
build
Argument of type '[{ tx: { hash: string; methodId: string; sender: string; nonce: string; argsFields: string[]; auxiliaryData: string[]; signature_r: string; signature_s: string; isMessage: boolean; }; } & { status: boolean; statusMessage: string | null; events: JsonValue; txHash: string; blockHash: string; }, { ...; }]' is not assignable to parameter of type '[Omit<{ status: boolean; statusMessage: string | null; events: JsonValue; txHash: string; blockHash: string; }, "blockHash">, { hash: string; methodId: string; sender: string; ... 5 more ...; isMessage: boolean; }, [...][]]'.
|
|
build
Argument of type '{ result: { blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; } | null; transactions: ({ ...; } & { ...; })[]; } & { ...; }' is not assignable to parameter of type '[{ height: number; hash: string; transactionsHash: string; beforeNetworkState: JsonValue; duringNetworkState: JsonValue; fromEternalTransactionsHash: string; ... 6 more ...; batchHeight: number | null; }, [...][]]'.
|
|
build
Argument of type '{ blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }' is not assignable to parameter of type '[{ blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }, [Omit<{ id: number; txExecutionResultId: string | null; blockId: string | null; blockResultId: string | null; applied: boolean; }, "id" | ... 2 more ... | "blockResu...'.
|
|
build
Type '{ beforeBlockStateTransitions: Prisma.InputJsonArray; beforeNetworkState: Prisma.InputJsonObject; duringNetworkState: Prisma.InputJsonObject; transactions: { ...; }; ... 37 more ...; at(index: number): [...][] | ... 1 more ... | undefined; }' is not assignable to type '(Without<BlockCreateInput, BlockUncheckedCreateInput> & BlockUncheckedCreateInput) | (Without<...> & BlockCreateInput)'.
|
|
build
Property 'beforeBlockStateTransitions' does not exist on type '[{ height: number; hash: string; transactionsHash: string; beforeNetworkState: JsonValue; duringNetworkState: JsonValue; fromEternalTransactionsHash: string; ... 6 more ...; batchHeight: number | null; }, [...][]]'.
|
|
build
Property 'beforeNetworkState' does not exist on type '[{ height: number; hash: string; transactionsHash: string; beforeNetworkState: JsonValue; duringNetworkState: JsonValue; fromEternalTransactionsHash: string; ... 6 more ...; batchHeight: number | null; }, [...][]]'.
|
|
build
Property 'duringNetworkState' does not exist on type '[{ height: number; hash: string; transactionsHash: string; beforeNetworkState: JsonValue; duringNetworkState: JsonValue; fromEternalTransactionsHash: string; ... 6 more ...; batchHeight: number | null; }, [...][]]'.
|
|
build
Property 'afterNetworkState' does not exist on type '[{ blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }, [Omit<{ id: number; txExecutionResultId: string | null; blockId: string | null; blockResultId: string | null; applied: boolean; }, "id" | ... 2 more ... | "blockResu...'.
|
|
build
Property 'blockHashWitness' does not exist on type '[{ blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }, [Omit<{ id: number; txExecutionResultId: string | null; blockId: string | null; blockResultId: string | null; applied: boolean; }, "id" | ... 2 more ... | "blockResu...'.
|
|
build
Type '{ afterNetworkState: Prisma.InputJsonValue; blockHashWitness: Prisma.InputJsonValue; afterBlockStateTransitions: Prisma.InputJsonValue; stateRoot: any; blockHash: any; blockHashRoot: any; witnessedRoots: any; }' is not assignable to type '(Without<BlockResultCreateInput, BlockResultUncheckedCreateInput> & BlockResultUncheckedCreateInput) | (Without<...> & BlockResultCreateInput)'.
|
|
test
Argument of type '[{ tx: { hash: string; methodId: string; sender: string; nonce: string; argsFields: string[]; auxiliaryData: string[]; signature_r: string; signature_s: string; isMessage: boolean; }; } & { status: boolean; statusMessage: string | null; events: JsonValue; txHash: string; blockHash: string; }, { ...; }]' is not assignable to parameter of type '[Omit<{ status: boolean; statusMessage: string | null; events: JsonValue; txHash: string; blockHash: string; }, "blockHash">, { hash: string; methodId: string; sender: string; ... 5 more ...; isMessage: boolean; }, [...][]]'.
|
|
test
Argument of type '{ result: { blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; } | null; transactions: ({ ...; } & { ...; })[]; } & { ...; }' is not assignable to parameter of type '[{ height: number; hash: string; transactionsHash: string; beforeNetworkState: JsonValue; duringNetworkState: JsonValue; fromEternalTransactionsHash: string; ... 6 more ...; batchHeight: number | null; }, [...][]]'.
|
|
test
Argument of type '{ blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }' is not assignable to parameter of type '[{ blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }, [Omit<{ id: number; txExecutionResultId: string | null; blockId: string | null; blockResultId: string | null; applied: boolean; }, "id" | ... 2 more ... | "blockResu...'.
|
|
test
Type '{ beforeBlockStateTransitions: Prisma.InputJsonArray; beforeNetworkState: Prisma.InputJsonObject; duringNetworkState: Prisma.InputJsonObject; transactions: { ...; }; ... 37 more ...; at(index: number): [...][] | ... 1 more ... | undefined; }' is not assignable to type '(Without<BlockCreateInput, BlockUncheckedCreateInput> & BlockUncheckedCreateInput) | (Without<...> & BlockCreateInput)'.
|
|
test
Property 'beforeBlockStateTransitions' does not exist on type '[{ height: number; hash: string; transactionsHash: string; beforeNetworkState: JsonValue; duringNetworkState: JsonValue; fromEternalTransactionsHash: string; ... 6 more ...; batchHeight: number | null; }, [...][]]'.
|
|
test
Property 'beforeNetworkState' does not exist on type '[{ height: number; hash: string; transactionsHash: string; beforeNetworkState: JsonValue; duringNetworkState: JsonValue; fromEternalTransactionsHash: string; ... 6 more ...; batchHeight: number | null; }, [...][]]'.
|
|
test
Property 'duringNetworkState' does not exist on type '[{ height: number; hash: string; transactionsHash: string; beforeNetworkState: JsonValue; duringNetworkState: JsonValue; fromEternalTransactionsHash: string; ... 6 more ...; batchHeight: number | null; }, [...][]]'.
|
|
test
Property 'afterNetworkState' does not exist on type '[{ blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }, [Omit<{ id: number; txExecutionResultId: string | null; blockId: string | null; blockResultId: string | null; applied: boolean; }, "id" | ... 2 more ... | "blockResu...'.
|
|
test
Property 'blockHashWitness' does not exist on type '[{ blockHash: string; stateRoot: string; blockHashRoot: string; witnessedRoots: string[]; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }, [Omit<{ id: number; txExecutionResultId: string | null; blockId: string | null; blockResultId: string | null; applied: boolean; }, "id" | ... 2 more ... | "blockResu...'.
|
|
test
Type '{ afterNetworkState: Prisma.InputJsonValue; blockHashWitness: Prisma.InputJsonValue; afterBlockStateTransitions: Prisma.InputJsonValue; stateRoot: any; blockHash: any; blockHashRoot: any; witnessedRoots: any; }' is not assignable to type '(Without<BlockResultCreateInput, BlockResultUncheckedCreateInput> & BlockResultUncheckedCreateInput) | (Without<...> & BlockResultCreateInput)'.
|