Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 8080

Uncaught error: invalid instruction; RangeError: Trying to access beyond buffer length

$
0
0

I use https://docs.solana.com/developing/lookup-tables An error will be reported when Fetch an Address Lookup Table method is used. Uncaught error: invalid instruction; RangeError: Trying to access beyond buffer length.Can you help me out?Code block:const lookupTableAddress = new web3.PublicKey("BNhLBVM7rCxCShds7wVgYCqpTZBJnPNsd8gMhc6gGv3g");console.log("lookupTableAddress-publicKey:", lookupTableAddress.toBase58());// get the table from the clusterconst lookupTableAccount = await connection.getAddressLookupTable(lookupTableAddress).then((res) => res.value);// lookupTableAccount will now be a AddressLookupTableAccount objectconsole.log("Table address from cluster:", lookupTableAccount);


Viewing all articles
Browse latest Browse all 8080

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>