Skip to content
New issue

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

chore: annotate more types as deprecated #27067

Merged
merged 1 commit into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion web3.js/src/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,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 */
Expand Down Expand Up @@ -1003,7 +1005,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 */
Expand Down
2 changes: 2 additions & 0 deletions web3.js/src/fee-calculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down