feat(lang): update mollusk test template dependencies (#3790)

Updates the mollusk-svm dev-dependency to the latest version (~0.4).

Removes the explicit solana-program dev dependency from the generated test template, as it is not strictly required for writing mollusk tests.
This commit is contained in:
David Leung 2025-07-31 09:55:39 +08:00 committed by GitHub
parent a87fe2b86d
commit 85edf91e0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -179,8 +179,7 @@ fn cargo_toml(name: &str, with_mollusk: bool) -> String {
let dev_dependencies = if with_mollusk {
r#"
[dev-dependencies]
mollusk-svm = "=0.0.15"
solana-program = "~2.1"
mollusk-svm = "~0.4"
"#
} else {
""