Skip to content

Commit

Permalink
Eliminate deprecated methods from request transformer (#3410)
Browse files Browse the repository at this point in the history
Addresses #2859.
  • Loading branch information
steveluscher authored Oct 22, 2024
1 parent 3dbcd43 commit 4a5a091
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,8 @@ describe('getDefaultRequestTransformerForSolanaRpc', () => {
'getBlockProduction',
'getBlocks',
'getBlocksWithLimit',
'getConfirmedBlock',
'getConfirmedBlocks',
'getConfirmedBlocksWithLimit',
'getConfirmedSignaturesForAddress2',
'getConfirmedTransaction',
'getEpochInfo',
'getFeeCalculatorForBlockhash',
'getFeeForMessage',
'getFees',
'getInflationGovernor',
'getInflationReward',
'getLargestAccounts',
Expand All @@ -64,7 +57,6 @@ describe('getDefaultRequestTransformerForSolanaRpc', () => {
'getMinimumBalanceForRentExemption',
'getMultipleAccounts',
'getProgramAccounts',
'getRecentBlockhash',
'getSignaturesForAddress',
'getSlot',
'getSlotLeader',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,8 @@ export const OPTIONS_OBJECT_POSITION_BY_METHOD: Record<string, number> = {
getBlockProduction: 0,
getBlocks: 2,
getBlocksWithLimit: 2,
getConfirmedBlock: 1,
getConfirmedBlocks: 1,
getConfirmedBlocksWithLimit: 2,
getConfirmedSignaturesForAddress2: 1,
getConfirmedTransaction: 1,
getEpochInfo: 0,
getFeeCalculatorForBlockhash: 1,
getFeeForMessage: 1,
getFees: 1,
getInflationGovernor: 0,
getInflationReward: 1,
getLargestAccounts: 0,
Expand All @@ -25,7 +18,6 @@ export const OPTIONS_OBJECT_POSITION_BY_METHOD: Record<string, number> = {
getMinimumBalanceForRentExemption: 1,
getMultipleAccounts: 1,
getProgramAccounts: 1,
getRecentBlockhash: 1,
getSignaturesForAddress: 1,
getSlot: 0,
getSlotLeader: 0,
Expand Down

0 comments on commit 4a5a091

Please sign in to comment.