Skip to content

fix(crypto): add Parcelable.Creator to Mint to prevent ClassCastException#682

Merged
bmc08gt merged 2 commits into
code/cashfrom
fix/mint-parcelable-classcastexception
May 11, 2026
Merged

fix(crypto): add Parcelable.Creator to Mint to prevent ClassCastException#682
bmc08gt merged 2 commits into
code/cashfrom
fix/mint-parcelable-classcastexception

Conversation

@bmc08gt
Copy link
Copy Markdown
Collaborator

@bmc08gt bmc08gt commented May 11, 2026

Mint inherits from PublicKey but lacked its own CREATOR, causing PublicKey.CREATOR to be used during unparceling. This returned a PublicKey instance that failed to cast to Mint during state restoration.

…tion

Mint inherits from PublicKey but lacked its own CREATOR, causing
PublicKey.CREATOR to be used during unparceling. This returned a
PublicKey instance that failed to cast to Mint during state restoration.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this May 11, 2026
@github-actions github-actions Bot added type: fix Bug fix area: crypto Solana, keys, encryption, signing and removed type: fix Bug fix labels May 11, 2026
@bmc08gt bmc08gt merged commit 2206b1a into code/cash May 11, 2026
3 checks passed
@bmc08gt bmc08gt deleted the fix/mint-parcelable-classcastexception branch May 11, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: crypto Solana, keys, encryption, signing type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant