Skip to content

Model STs in Persistence #810

Model STs in Persistence

Model STs in Persistence #810

Triggered via pull request February 20, 2025 20:10
Status Failure
Total duration 1m 52s
Artifacts

pull-request-develop.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 errors
lint
Property 'stateTransitions' is missing in type 'Omit<TransactionExecutionResult, "stateTransitions">' but required in type 'TransactionExecutionResult'.
lint
Property 'beforeBlockStateTransitions' is missing in type '{ transactions: TransactionExecutionResult[]; height: Field; hash: Field; transactionsHash: Field; fromEternalTransactionsHash: Field; ... 6 more ...; networkState: { ...; }; }' but required in type 'Block'.
lint
Type 'Omit<BlockResult, "afterBlockStateTransitions"> | undefined' is not assignable to type 'BlockResult | undefined'.
lint
Type '{ beforeBlockStateTransitions: Prisma.InputJsonArray; beforeNetworkState: Prisma.InputJsonObject; duringNetworkState: Prisma.InputJsonObject; transactions: { ...; }; ... 10 more ...; parentHash: string | null; }' 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; toEternalTransactionsHash: string; ... 5 more ...; batchHeight: number | null; }'.
lint
Type '{ afterNetworkState: Prisma.InputJsonValue; blockHashWitness: Prisma.InputJsonValue; afterBlockStateTransitions: Prisma.InputJsonValue; stateRoot: string; blockHash: string; blockHashRoot: string; witnessedRoots: string[]; }' is not assignable to type '(Without<BlockResultCreateInput, BlockResultUncheckedCreateInput> & BlockResultUncheckedCreateInput) | (Without<...> & BlockResultCreateInput)'.
lint
Property 'afterBlockStateTransitions' does not exist on type '{ blockHash: string; witnessedRoots: string[]; stateRoot: string; blockHashRoot: string; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }'.
lint
Type '{ block: Omit<Block, "beforeBlockStateTransitions">; result: Omit<BlockResult, "afterBlockStateTransitions">; }[]' is not assignable to type 'BlockWithResult[]'.
lint
Argument of type '(txresult: { 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; }) => Omit<...>' is not assignable to parameter of type '(value: { 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; }, index: number, a...'.
lint
Process completed with exit code 1.
build
Property 'stateTransitions' is missing in type 'Omit<TransactionExecutionResult, "stateTransitions">' but required in type 'TransactionExecutionResult'.
build
Property 'beforeBlockStateTransitions' is missing in type '{ transactions: TransactionExecutionResult[]; height: Field; hash: Field; transactionsHash: Field; fromEternalTransactionsHash: Field; ... 6 more ...; networkState: { ...; }; }' but required in type 'Block'.
build
Type 'Omit<BlockResult, "afterBlockStateTransitions"> | undefined' is not assignable to type 'BlockResult | undefined'.
build
Type '{ beforeBlockStateTransitions: Prisma.InputJsonArray; beforeNetworkState: Prisma.InputJsonObject; duringNetworkState: Prisma.InputJsonObject; transactions: { ...; }; ... 10 more ...; parentHash: string | null; }' 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; toEternalTransactionsHash: string; ... 5 more ...; batchHeight: number | null; }'.
build
Type '{ afterNetworkState: Prisma.InputJsonValue; blockHashWitness: Prisma.InputJsonValue; afterBlockStateTransitions: Prisma.InputJsonValue; stateRoot: string; blockHash: string; blockHashRoot: string; witnessedRoots: string[]; }' is not assignable to type '(Without<BlockResultCreateInput, BlockResultUncheckedCreateInput> & BlockResultUncheckedCreateInput) | (Without<...> & BlockResultCreateInput)'.
build
Property 'afterBlockStateTransitions' does not exist on type '{ blockHash: string; witnessedRoots: string[]; stateRoot: string; blockHashRoot: string; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }'.
build
Type '{ block: Omit<Block, "beforeBlockStateTransitions">; result: Omit<BlockResult, "afterBlockStateTransitions">; }[]' is not assignable to type 'BlockWithResult[]'.
build
Argument of type '(txresult: { 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; }) => Omit<...>' is not assignable to parameter of type '(value: { 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; }, index: number, a...'.
build
Process completed with exit code 1.
test
Property 'stateTransitions' is missing in type 'Omit<TransactionExecutionResult, "stateTransitions">' but required in type 'TransactionExecutionResult'.
test
Property 'beforeBlockStateTransitions' is missing in type '{ transactions: TransactionExecutionResult[]; height: Field; hash: Field; transactionsHash: Field; fromEternalTransactionsHash: Field; ... 6 more ...; networkState: { ...; }; }' but required in type 'Block'.
test
Type 'Omit<BlockResult, "afterBlockStateTransitions"> | undefined' is not assignable to type 'BlockResult | undefined'.
test
Type '{ beforeBlockStateTransitions: Prisma.InputJsonArray; beforeNetworkState: Prisma.InputJsonObject; duringNetworkState: Prisma.InputJsonObject; transactions: { ...; }; ... 10 more ...; parentHash: string | null; }' 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; toEternalTransactionsHash: string; ... 5 more ...; batchHeight: number | null; }'.
test
Type '{ afterNetworkState: Prisma.InputJsonValue; blockHashWitness: Prisma.InputJsonValue; afterBlockStateTransitions: Prisma.InputJsonValue; stateRoot: string; blockHash: string; blockHashRoot: string; witnessedRoots: string[]; }' is not assignable to type '(Without<BlockResultCreateInput, BlockResultUncheckedCreateInput> & BlockResultUncheckedCreateInput) | (Without<...> & BlockResultCreateInput)'.
test
Property 'afterBlockStateTransitions' does not exist on type '{ blockHash: string; witnessedRoots: string[]; stateRoot: string; blockHashRoot: string; afterNetworkState: JsonValue; blockHashWitness: JsonValue; }'.
test
Type '{ block: Omit<Block, "beforeBlockStateTransitions">; result: Omit<BlockResult, "afterBlockStateTransitions">; }[]' is not assignable to type 'BlockWithResult[]'.
test
Argument of type '(txresult: { 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; }) => Omit<...>' is not assignable to parameter of type '(value: { 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; }, index: number, a...'.
test
Process completed with exit code 1.