Skip to content

fix: svm ts issues #2391

fix: svm ts issues

fix: svm ts issues #2391

Triggered via pull request October 4, 2024 15:45
Status Failure
Total duration 8m 11s
Artifacts

pr.yml

on: pull_request
Matrix: Forge
Matrix: Lint
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 13 warnings
Test (20): test/svm/SvmSpoke.Bundle.ts#L871
Object literal may only specify known properties, and 'state' does not exist in type 'ResolvedAccounts<{ name: "signer"; writable: true; signer: true; } | { name: "state"; writable: true; pda: { seeds: [{ kind: "const"; value: [115, 116, 97, 116, 101]; }, { kind: "account"; path: "state.seed"; account: "state"; }]; }; } | { ...; } | { ...; }>'.
Test (20): test/svm/SvmSpoke.Bundle.ts#L883
Argument of type '[number, RelayerRefundLeafSolana, number[][]]' is not assignable to parameter of type 'ArgsTuple<[{ name: "rootBundleId"; type: "u32"; }, { name: "relayerRefundLeaf"; type: { defined: { name: "relayerRefundLeaf"; }; }; }, { name: "proof"; type: { vec: { array: ["u8", 32]; }; }; }], DecodedHelper<[{ name: "enabledDepositRoute"; type: { ...; }; }, ... 18 more ..., { ...; }], DecodedHelper<...>>>'.
Test (20): test/svm/SvmSpoke.Bundle.ts#L888
Object literal may only specify known properties, and 'state' does not exist in type 'ResolvedAccounts<{ name: "state"; writable: true; pda: { seeds: [{ kind: "const"; value: [115, 116, 97, 116, 101]; }, { kind: "account"; path: "state.seed"; account: "state"; }]; }; } | { name: "rootBundle"; writable: true; pda: { ...; }; } | ... 7 more ... | { ...; }>'.
Test (20): test/svm/Utils.Events.ts#L103
Property 'data' does not exist on type 'ParsedInstruction | PartiallyDecodedInstruction'.
Test (20): test/svm/Utils.Events.ts#L106
Property 'length' does not exist on type 'Object'.
Test (20)
Process completed with exit code 2.
Forge (20): test/svm/SvmSpoke.Bundle.ts#L871
Object literal may only specify known properties, and 'state' does not exist in type 'ResolvedAccounts<{ name: "signer"; writable: true; signer: true; } | { name: "state"; writable: true; pda: { seeds: [{ kind: "const"; value: [115, 116, 97, 116, 101]; }, { kind: "account"; path: "state.seed"; account: "state"; }]; }; } | { ...; } | { ...; }>'.
Forge (20): test/svm/SvmSpoke.Bundle.ts#L883
Argument of type '[number, RelayerRefundLeafSolana, number[][]]' is not assignable to parameter of type 'ArgsTuple<[{ name: "rootBundleId"; type: "u32"; }, { name: "relayerRefundLeaf"; type: { defined: { name: "relayerRefundLeaf"; }; }; }, { name: "proof"; type: { vec: { array: ["u8", 32]; }; }; }], DecodedHelper<[{ name: "enabledDepositRoute"; type: { ...; }; }, ... 18 more ..., { ...; }], DecodedHelper<...>>>'.
Forge (20): test/svm/SvmSpoke.Bundle.ts#L888
Object literal may only specify known properties, and 'state' does not exist in type 'ResolvedAccounts<{ name: "state"; writable: true; pda: { seeds: [{ kind: "const"; value: [115, 116, 97, 116, 101]; }, { kind: "account"; path: "state.seed"; account: "state"; }]; }; } | { name: "rootBundle"; writable: true; pda: { ...; }; } | ... 7 more ... | { ...; }>'.
Forge (20): test/svm/Utils.Events.ts#L103
Property 'data' does not exist on type 'ParsedInstruction | PartiallyDecodedInstruction'.
Forge (20): test/svm/Utils.Events.ts#L106
Property 'length' does not exist on type 'Object'.
Forge (20)
Process completed with exit code 2.
Lint (20): test/svm/SvmSpoke.Bundle.ts#L871
Object literal may only specify known properties, and 'state' does not exist in type 'ResolvedAccounts<{ name: "signer"; writable: true; signer: true; } | { name: "state"; writable: true; pda: { seeds: [{ kind: "const"; value: [115, 116, 97, 116, 101]; }, { kind: "account"; path: "state.seed"; account: "state"; }]; }; } | { ...; } | { ...; }>'.
Lint (20): test/svm/SvmSpoke.Bundle.ts#L883
Argument of type '[number, RelayerRefundLeafSolana, number[][]]' is not assignable to parameter of type 'ArgsTuple<[{ name: "rootBundleId"; type: "u32"; }, { name: "relayerRefundLeaf"; type: { defined: { name: "relayerRefundLeaf"; }; }; }, { name: "proof"; type: { vec: { array: ["u8", 32]; }; }; }], DecodedHelper<[{ name: "enabledDepositRoute"; type: { ...; }; }, ... 18 more ..., { ...; }], DecodedHelper<...>>>'.
Lint (20): test/svm/SvmSpoke.Bundle.ts#L888
Object literal may only specify known properties, and 'state' does not exist in type 'ResolvedAccounts<{ name: "state"; writable: true; pda: { seeds: [{ kind: "const"; value: [115, 116, 97, 116, 101]; }, { kind: "account"; path: "state.seed"; account: "state"; }]; }; } | { name: "rootBundle"; writable: true; pda: { ...; }; } | ... 7 more ... | { ...; }>'.
Lint (20): test/svm/Utils.Events.ts#L103
Property 'data' does not exist on type 'ParsedInstruction | PartiallyDecodedInstruction'.
Lint (20): test/svm/Utils.Events.ts#L106
Property 'length' does not exist on type 'Object'.
Lint (20)
Process completed with exit code 2.
Test (20)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (20)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test (20)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test (20)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test (20)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Forge (20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (20)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (20)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint (20)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint (20)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint (20)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/