solana-program-library
solana-program-library copied to clipboard
stake-pool-js: Fails to deserialize stake pool due to all the next fees
Problem
The serialization format for the next* fees was changed in 1.0 to take effect two epochs later instead of one. This breaks the previous serialization format used in the JS bindings, which only expects a 0 or 1.
Solution
Fix the serialization format for the next* fees.