Skip to content

Commit

Permalink
Update Solana Version for Testnet/Mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
POPPIN-FUMI committed Nov 20, 2024
1 parent 17f6de8 commit 0210ade
Show file tree
Hide file tree
Showing 5 changed files with 121 additions and 71 deletions.
25 changes: 25 additions & 0 deletions .changeset/fuzzy-cameras-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
'@epics-dao/solv': patch
---

Update Solana Version for Testnet/Mainnet

Update solv version and the default config.

```bash
solv update && solv update --config
solv i
```

Then manually restart the node.

```bash
solv restart
```

solv auto restart mode is disabled for this Testnet update since some of users are experiencing issues with it.
If your node face a problem, please add this argument to the command: `--no-poh-speed-test` in `start-validator.sh` file.

```bash
solv stop && solv start
```
2 changes: 1 addition & 1 deletion packages/solv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@skeet-framework/utils": "1.3.11",
"@solana/spl-stake-pool": "1.1.5",
"@solana/spl-token": "0.4.8",
"@solana/web3.js": "1.95.3",
"@solana/web3.js": "1.95.4",
"bigint-buffer": "1.1.5",
"bn.js": "5.2.1",
"bs58": "6.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/solv/src/cli/swap/postJupiterSwap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const postJupiterSwap = async (
feeAccount: associationAccount,
dynamicComputeUnitLimit: true,
prioritizationFeeLamports: 'auto',
dynamicSlippage: { maxBps: 300 },
dynamicSlippage: { maxBps: 500 },
},
}
} else {
Expand All @@ -31,7 +31,7 @@ const postJupiterSwap = async (
userPublicKey: fromWalletPubkey,
dynamicComputeUnitLimit: true,
prioritizationFeeLamports: 'auto',
dynamicSlippage: { maxBps: 300 },
dynamicSlippage: { maxBps: 500 },
},
}
}
Expand Down
14 changes: 7 additions & 7 deletions packages/solv/src/config/versionConfig.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export const VERSION_TESTNET = '2.0.15'
export const VERSION_MAINNET = '2.0.15'
export const VERSION_JITO_TESTNET = '2.0.15'
export const VERSION_JITO_MAINNET = '2.0.15'
export const VERSION_JITO_RPC = '2.0.15'
export const VERSION_SOLANA_RPC = '2.0.15'
export const DELINQUENT_STAKE_TESTNET = 10
export const VERSION_TESTNET = '2.1.1'
export const VERSION_MAINNET = '2.0.16'
export const VERSION_JITO_TESTNET = '2.1.1'
export const VERSION_JITO_MAINNET = '2.0.16'
export const VERSION_JITO_RPC = '2.1.1'
export const VERSION_SOLANA_RPC = '2.1.1'
export const DELINQUENT_STAKE_TESTNET = 5
export const DELINQUENT_STAKE_MAINNET = 5
export const COMMISSION = 5
export const VERSION_NODE = '20.17.0'
Expand Down
Loading

0 comments on commit 0210ade

Please sign in to comment.