This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
Fix rent epoch type #7213
Annotations
6 errors
Lint, Build, and Test:
src/connection.ts#L3569
Type '{ value: { data: Buffer; lamports: number; executable: boolean; owner: PublicKey; rentEpoch: bigint; } | null; context: { slot: number; }; }' is not assignable to type 'RpcResponseAndContext<AccountInfo<Buffer> | null>'.
|
Lint, Build, and Test:
src/connection.ts#L3671
Type '{ value: ({ data: Buffer; lamports: number; executable: boolean; owner: PublicKey; rentEpoch: bigint; } | null)[]; context: { slot: number; }; }' is not assignable to type 'RpcResponseAndContext<(AccountInfo<Buffer> | null)[]>'.
|
Lint, Build, and Test:
src/connection.ts#L3774
Type '{ pubkey: PublicKey; account: { data: Buffer; lamports: number; executable: boolean; owner: PublicKey; rentEpoch: bigint; }; }[] | { value: { pubkey: PublicKey; account: { ...; }; }[]; context: { ...; }; }' is not assignable to type 'GetProgramAccountsResponse | RpcResponseAndContext<GetProgramAccountsResponse>'.
|
Lint, Build, and Test:
src/connection.ts#L6384
Type '{ data: Buffer; lamports: number; executable: boolean; owner: PublicKey; rentEpoch: bigint; }' is not assignable to type 'AccountInfo<Buffer>'.
|
Lint, Build, and Test:
src/connection.ts#L6522
Type '{ data: Buffer; lamports: number; executable: boolean; owner: PublicKey; rentEpoch: bigint; }' is not assignable to type 'AccountInfo<Buffer>'.
|
Lint, Build, and Test
Process completed with exit code 2.
|
Loading