Skip to content

cli: Use new devnet stake-pool program id#172

Merged
joncinque merged 3 commits intosolana-program:mainfrom
joncinque:devnet
Apr 22, 2025
Merged

cli: Use new devnet stake-pool program id#172
joncinque merged 3 commits intosolana-program:mainfrom
joncinque:devnet

Conversation

@joncinque
Copy link
Copy Markdown
Contributor

Problem

The devnet deployment of the stake pool program has been out of date for a long time because the upgrade key has been lost.

Summary of changes

Since the key is lost, we need to use a different program id for devnet. Add that key and use it properly in the CLI. This PR also includes a change to specify the a program id to use.

I've deployed the mainnet version of the program to devnet to this new address.

Fixes #27

@joncinque joncinque requested a review from 2501babe March 21, 2025 18:04
@2501babe
Copy link
Copy Markdown
Member

i believe get_stake_pools() in clients/cli/src/client.rs has to be updated to handle devnet, ottherwise looks good!

#### Problem

The devnet deployment of the stake pool program has been out of date for
a long time because the upgrade key has been lost.

#### Summary of changes

Since the key is lost, we need to use a different program id for devnet.
Add that key and use it properly in the CLI. This PR also includes a
change to specify the a program id to use.
@joncinque
Copy link
Copy Markdown
Contributor Author

Ah thanks, done!

@joncinque joncinque enabled auto-merge (squash) April 21, 2025 20:02
@joncinque joncinque merged commit 120fe65 into solana-program:main Apr 22, 2025
12 checks passed
@joncinque joncinque deleted the devnet branch April 22, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

staking pool cli error "failed: custom program error: 0x3"

2 participants