Skip to content

Commit

Permalink
chore: annotate more types as deprecated (solana-labs#27067)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry authored and xiangzhu70 committed Aug 17, 2022
1 parent da02fc9 commit 91966b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web3.js/src/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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 */
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

0 comments on commit 91966b9

Please sign in to comment.