Commit ff030ff
committed
fix(quasar): pin quasar deps to 623bb70 to avoid upstream zeropod 0.3.0 regression
Upstream blueshift-gg/quasar master moved zeropod from 0.2.0 to 0.3.0 in
commit 2be2622 (2026-05-09, 'fix(derive): classify const-capacity account
Vec fields'). zeropod 0.3.0 auto-generates accessor methods for
PodOption<T, PFX=4> fields, which collide with the manual delegate(),
close_authority(), mint_authority(), and freeze_authority() impls in
quasar's own spl/src/token.rs:
error[E0592]: duplicate definitions with name `delegate`
--> .../quasar/spl/src/token.rs:16:10
|
16 | #[derive(quasar_lang::__zeropod::ZeroPod)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions
...
64 | pub fn delegate(&self) -> Option<&Address> {
| ------------------------------------------ other definition
The manual accessors carry a comment claiming auto-generated ones do not
cover PFX=4 — that assumption became false after the zeropod bump.
Every `tokens/**/quasar` project pinning quasar-{lang,spl} to
`branch = "master"` therefore fails to compile against current master.
Confirmed locally; visible in PR #23's first full-matrix CI run.
Pin quasar-lang, quasar-spl, and quasar-metadata to commit 623bb70 (the
last good commit on master before the zeropod 0.3.0 bump) across all
`basics/**/quasar` and `tokens/**/quasar` Cargo.toml files that pull
quasar from `blueshift-gg/quasar`. Same source-id keeps trait impls
consistent across quasar crates. Comments updated to explain the rationale
and to point at the unpin trigger (upstream zeropod fix).
Verified with `cargo check --release --tests` on:
- tokens/escrow/quasar
- tokens/token-extensions/transfer-fee/quasar
- tokens/spl-token-minter/quasar (also uses quasar-metadata)
The `basics/**/quasar` projects don't pull quasar-spl so they weren't
breaking, but pinning them to the same rev keeps the dep tree consistent
across the whole repo and avoids future drift if someone adds an
spl-using basic example.
Follow-up to PR #23 (the CI workflow fix), which exposed this pre-existing
regression by triggering the full-matrix CI run.
Note: this PR does NOT add anything to .ghaignore. Hiding failures was
explicitly the wrong move; this PR fixes the underlying break instead.
Out of scope for this PR:
- tokens/token-extensions/transfer-hook/block-list/pinocchio is a WIP
port (no pnpm-lock.yaml, no tests/, no build script) and needs a real
port rather than a dependency pin. Tracking separately.1 parent 8abb5d1 commit ff030ff
44 files changed
Lines changed: 339 additions & 75 deletions
File tree
- basics
- account-data/quasar
- checking-accounts/quasar
- close-account/quasar
- counter/quasar
- create-account/quasar
- cross-program-invocation/quasar
- hand
- lever
- favorites/quasar
- hello-solana/quasar
- pda-rent-payer/quasar
- processing-instructions/quasar
- program-derived-addresses/quasar
- realloc/quasar
- rent/quasar
- repository-layout/quasar
- transfer-sol/quasar
- tokens
- create-token/quasar
- escrow/quasar
- external-delegate-token-master/quasar
- nft-minter/quasar
- nft-operations/quasar
- pda-mint-authority/quasar
- spl-token-minter/quasar
- token-extensions
- basics/quasar
- cpi-guard/quasar
- default-account-state/quasar
- group/quasar
- immutable-owner/quasar
- interest-bearing/quasar
- memo-transfer/quasar
- mint-close-authority/quasar
- non-transferable/quasar
- permanent-delegate/quasar
- transfer-fee/quasar
- transfer-hook
- account-data-as-seed/quasar
- allow-block-list-token/quasar
- counter/quasar
- hello-world/quasar
- transfer-cost/quasar
- transfer-switch/quasar
- whitelist/quasar
- token-fundraiser/quasar
- token-swap/quasar
- transfer-tokens/quasar
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
0 commit comments