We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
About to make a PR for this issue but this line is preventing me from pushing. I haven't touched that part of the codebase yet. Any advice?
Argument of type '[number, number, { [x: string]: {}; }, BN, number, boolean, BN, { accounts: { registrar: PublicKey; voter: PublicKey; voterAuthority: PublicKey; ... 10 more ...; rent: PublicKey; }; }]' is not assignable to parameter of type '[...unknown[], Context<Accounts<{ name: "registrar"; isMut: false; isSigner: false; } | { name: "voter"; isMut: true; isSigner: false; } | { name: "voterAuthority"; isMut: false; isSigner: false; } | { name: "voterWeightRecord"; isMut: true; isSigner: false; } | ... 8 more ... | { ...; }>>]'. Type at position 7 in source is not compatible with type at position 1 in target. The types of 'accounts' are incompatible between these types. Type '{ registrar: PublicKey; voter: PublicKey; voterAuthority: PublicKey; voterWeightRecord: PublicKey; vault: PublicKey; depositToken: PublicKey; ... 7 more ...; rent: PublicKey; }' is not assignable to type 'Accounts<{ name: "registrar"; isMut: false; isSigner: false; } | { name: "voter"; isMut: true; isSigner: false; } | { name: "voterAuthority"; isMut: false; isSigner: false; } | { name: "voterWeightRecord"; isMut: true; isSigner: false; } | ... 8 more ... | { ...; }>'. Object literal may only specify known properties, and 'tokenAuthority' does not exist in type 'Accounts<{ name: "registrar"; isMut: false; isSigner: false; } | { name: "voter"; isMut: true; isSigner: false; } | { name: "voterAuthority"; isMut: false; isSigner: false; } | { name: "voterWeightRecord"; isMut: true; isSigner: false; } | ... 8 more ... | { ...; }>'.ts(2345)
Fixed. Had to update my packages. PR incoming
Sorry, something went wrong.
Merged. @SebastianBor can you close this issue?
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: