Closed 0xMentorNotAPseudo closed 2 years ago
@joncinque can you please give it a look?
The JS schema definitions for the stake pool are unused and out of date unfortunately. I'll be spending time on stake pools js library within the next few weeks, but in the meantime, this will fail. PRs are very appreciated!
Closing since the bindings were redone in https://github.com/solana-labs/solana-program-library/pull/2604
Hi,
When trying to read the stake pool accounts from the index example I have the following exception:
This happen when trying to
readUInt8
the account data on index.ts:However IT tests are running correctly. Also before calling the
getStakePoolAccounts
I make sure to add the borsh schema as follow:schema.addStakePoolSchema(SOLANA_SCHEMA);