chore: annotate more types as deprecated (#27067)

This commit is contained in:
Justin Starry 2022-08-10 21:35:30 +01:00 committed by GitHub
parent ba7b058831
commit 9ab52e4260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -884,6 +884,8 @@ export type TransactionResponse = {
/**
* A confirmed transaction on the ledger
*
* @deprecated Deprecated since Solana v1.8.0.
*/
export type ConfirmedTransaction = {
/** The slot during which the transaction was processed */
@ -1013,7 +1015,9 @@ export type BlockResponse = {
};
/**
* A ConfirmedBlock on the ledger
* A confirmed block on the ledger
*
* @deprecated Deprecated since Solana v1.8.0.
*/
export type ConfirmedBlock = {
/** Blockhash of this block */

View File

@ -9,6 +9,8 @@ export const FeeCalculatorLayout = BufferLayout.nu64('lamportsPerSignature');
/**
* Calculator for transaction fees.
*
* @deprecated Deprecated since Solana v1.8.0.
*/
export interface FeeCalculator {
/** Cost in lamports to validate a signature. */