explorer icon indicating copy to clipboard operation
explorer copied to clipboard

[bug] MultipleAccountsFetcher must not produce batch fetches that exceed the maximum

Open sentry[bot] opened this issue 2 years ago • 1 comments
trafficstars

Sentry Issue: EXPLORER-1953

SolanaJSONRPCError: failed to get info for accounts DaRPTbNVt8zdnjLWtrgUC26VWaysLR8mCV34A1T1H8wK,DaRPTbNVt8zdnjLWtrgUC26VWaysLR8mCV34A1T1H8wK,DaRPTbNVt8zdnjLWtrgUC26VWaysLR8mCV34A1T1H8wK,DaRPTbNVt8zdnjLWtrgUC26VWaysLR8mCV34A1T1H8wK,DaRPTbNVt8zdnjLWtrgUC26VWaysLR8mCV34A1...
  at Connection.getMultipleParsedAccounts (./node_modules/.pnpm/@[email protected]/node_modules/@solana/web3.js/lib/index.browser.esm.js:5044:1)

sentry[bot] avatar May 09 '23 06:05 sentry[bot]

The problem here is that MultipleAccountsFetcher can produce batch getMutipleAccounts calls that trigger this error:

Too many inputs provided; max 5

steveluscher avatar May 09 '23 06:05 steveluscher