Skip to content

Commit d7c229b

Browse files
committed
fix(quasar): migrate Quasar.toml manifests to new format
Every per-project Quasar.toml in old format failed CI with: ✘ Quasar.toml uses an outdated format. Run quasar config reset and re-init your project. The PR migrated program code to the new Quasar API but did not regenerate the per-project manifests. The current Quasar CLI expects the new structured form: [testing] language = "rust" [testing.rust] framework = "quasar-svm" [testing.rust.test] program = "cargo" args = ["test", "tests::"] [clients] languages = ["rust"] instead of the old single-line: [testing] framework = "quasarsvm-rust" This commit converts all 25 remaining old-format Quasar.toml files in place. The 18 manifests that were already migrated (most token-extension projects) are left untouched. Verified locally with quasar build + cargo test on representative projects across each category: basics/create-account, basics/hello-solana, compression/cnft-burn, tokens/transfer-tokens, and a token-extensions sample.
1 parent 2d25800 commit d7c229b

25 files changed

Lines changed: 350 additions & 25 deletions

File tree

basics/account-data/quasar/Quasar.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,17 @@ name = "quasar_account_data"
55
type = "solana"
66

77
[testing]
8-
framework = "quasarsvm-rust"
8+
language = "rust"
9+
10+
[testing.rust]
11+
framework = "quasar-svm"
12+
13+
[testing.rust.test]
14+
program = "cargo"
15+
args = [
16+
"test",
17+
"tests::",
18+
]
19+
20+
[clients]
21+
languages = ["rust"]

basics/checking-accounts/quasar/Quasar.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,17 @@ name = "quasar_checking_accounts"
55
type = "solana"
66

77
[testing]
8-
framework = "quasarsvm-rust"
8+
language = "rust"
9+
10+
[testing.rust]
11+
framework = "quasar-svm"
12+
13+
[testing.rust.test]
14+
program = "cargo"
15+
args = [
16+
"test",
17+
"tests::",
18+
]
19+
20+
[clients]
21+
languages = ["rust"]

basics/close-account/quasar/Quasar.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,17 @@ name = "quasar_close_account"
55
type = "solana"
66

77
[testing]
8-
framework = "quasarsvm-rust"
8+
language = "rust"
9+
10+
[testing.rust]
11+
framework = "quasar-svm"
12+
13+
[testing.rust.test]
14+
program = "cargo"
15+
args = [
16+
"test",
17+
"tests::",
18+
]
19+
20+
[clients]
21+
languages = ["rust"]

basics/counter/quasar/Quasar.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,17 @@ name = "quasar_counter"
55
type = "solana"
66

77
[testing]
8-
framework = "quasarsvm-rust"
8+
language = "rust"
9+
10+
[testing.rust]
11+
framework = "quasar-svm"
12+
13+
[testing.rust.test]
14+
program = "cargo"
15+
args = [
16+
"test",
17+
"tests::",
18+
]
19+
20+
[clients]
21+
languages = ["rust"]

basics/create-account/quasar/Quasar.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,17 @@ name = "quasar_create_account"
55
type = "solana"
66

77
[testing]
8-
framework = "quasarsvm-rust"
8+
language = "rust"
9+
10+
[testing.rust]
11+
framework = "quasar-svm"
12+
13+
[testing.rust.test]
14+
program = "cargo"
15+
args = [
16+
"test",
17+
"tests::",
18+
]
19+
20+
[clients]
21+
languages = ["rust"]

basics/cross-program-invocation/quasar/hand/Quasar.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,17 @@ name = "quasar_hand"
55
type = "solana"
66

77
[testing]
8-
framework = "quasarsvm-rust"
8+
language = "rust"
9+
10+
[testing.rust]
11+
framework = "quasar-svm"
12+
13+
[testing.rust.test]
14+
program = "cargo"
15+
args = [
16+
"test",
17+
"tests::",
18+
]
19+
20+
[clients]
21+
languages = ["rust"]

basics/cross-program-invocation/quasar/lever/Quasar.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,17 @@ name = "quasar_lever"
55
type = "solana"
66

77
[testing]
8-
framework = "quasarsvm-rust"
8+
language = "rust"
9+
10+
[testing.rust]
11+
framework = "quasar-svm"
12+
13+
[testing.rust.test]
14+
program = "cargo"
15+
args = [
16+
"test",
17+
"tests::",
18+
]
19+
20+
[clients]
21+
languages = ["rust"]

basics/favorites/quasar/Quasar.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,17 @@ name = "quasar_favorites"
55
type = "solana"
66

77
[testing]
8-
framework = "quasarsvm-rust"
8+
language = "rust"
9+
10+
[testing.rust]
11+
framework = "quasar-svm"
12+
13+
[testing.rust.test]
14+
program = "cargo"
15+
args = [
16+
"test",
17+
"tests::",
18+
]
19+
20+
[clients]
21+
languages = ["rust"]

basics/hello-solana/quasar/Quasar.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,17 @@ name = "quasar_hello_solana"
55
type = "solana"
66

77
[testing]
8-
framework = "quasarsvm-rust"
8+
language = "rust"
9+
10+
[testing.rust]
11+
framework = "quasar-svm"
12+
13+
[testing.rust.test]
14+
program = "cargo"
15+
args = [
16+
"test",
17+
"tests::",
18+
]
19+
20+
[clients]
21+
languages = ["rust"]

basics/pda-rent-payer/quasar/Quasar.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,17 @@ name = "quasar_pda_rent_payer"
55
type = "solana"
66

77
[testing]
8-
framework = "quasarsvm-rust"
8+
language = "rust"
9+
10+
[testing.rust]
11+
framework = "quasar-svm"
12+
13+
[testing.rust.test]
14+
program = "cargo"
15+
args = [
16+
"test",
17+
"tests::",
18+
]
19+
20+
[clients]
21+
languages = ["rust"]

0 commit comments

Comments
 (0)