Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Conversation

joncinque
Copy link
Contributor

Problem

There's some unwraps in the stake pool program, which can cause issues.

Solution

Remove a couple of them. When trying to remove the ones from active_lamports_greater_than and transient_lamports_greater_than, it increased compute usage so much that the max pool size went down to 2500, so it's not worth removing all of them.

@joncinque joncinque merged commit 2cdef76 into solana-labs:master Jan 28, 2023
@joncinque joncinque deleted the sp-unwrap branch January 28, 2023 01:13
HaoranYi pushed a commit to HaoranYi/solana-program-library that referenced this pull request Jul 19, 2023
* stake-pool: Remove a couple of unwraps

* Remove one more unwrap

* Update CLI too
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant