Skip to content

Commit 4b02e9b

Browse files
authored
stake-pool: Update devnet program address (#8)
* stake-pool: Update devnet program address #### Problem The devnet stake pool program address is different because we lost the old upgrade keys. To get around that, we've deployed to a new address, but it isn't documented. #### Summary of changes Document the program address to use on all networks. * Clarify note
1 parent 696bda4 commit 4b02e9b

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

docs/content/docs/stake-pool/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ to activate and deactivate, you can run the stake pool locally using the
5959
from devnet.
6060

6161
```console
62-
$ solana-test-validator -c SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy -c EmiU8AQkB2sswTxVB6aCmsAJftoowZGGDXuytm6X65R3 --url devnet --slots-per-epoch 32
62+
$ solana-test-validator --clone-upgradeable-program SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy --url mainnet-beta --slots-per-epoch 32
6363
$ solana config set --url http://127.0.0.1:8899
6464
```
6565

docs/content/docs/stake-pool/index.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,18 @@ A program for pooling together SOL to be staked by an off-chain agent running
66
a Delegation Bot which redistributes the stakes across the network and tries
77
to maximize censorship resistance and rewards.
88

9-
| Information | Account Address |
9+
| Network | Account Address |
1010
| --- | --- |
11-
| Stake Pool Program | `SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy` |
11+
| Mainnet-beta | `SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy` |
12+
| Testnet | `SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy` |
13+
| Devnet | `DPoo15wWDqpPJJtS2MUZ49aRxqz5ZaaJCJP4z8bLuib` |
1214

13-
NOTE: The devnet deployment of the program still uses v0.6.4, and is not suitable
14-
for testing. For testing, it is recommended to use testnet, a local test validator,
15-
or deploy your own version for devnet.
15+
NOTE: The devnet deployment of the program at address
16+
`SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy` is still on v0.6.4, and is not
17+
suitable for testing. The program at address
18+
`DPoo15wWDqpPJJtS2MUZ49aRxqz5ZaaJCJP4z8bLuib` mirrors the program deployed to
19+
mainnet-beta, and should be used instead. The CLI and JS library will
20+
automatically use the latter address when targeting the devnet RPC.
1621

1722
## Getting Started
1823

0 commit comments

Comments
 (0)