Skip to content

fix: svm ts issues #2373

fix: svm ts issues

fix: svm ts issues #2373

Triggered via pull request October 3, 2024 15:14
Status Failure
Total duration 7m 48s
Artifacts

pr.yml

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

Annotations

12 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)
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)
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)
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/