Skip to content

Conversation

@joncinque
Copy link
Owner

Problem

Account.info() doesn't work with PublicKey as a packed struct because the alignment is incorrect.

Summary of changes

Make PublicKey back into an array of bytes, remove rent_epoch, and add a test to make sure the info() function works.

#### Problem

`Account.info()` doesn't work with `PublicKey` as a packed struct
because the alignment is incorrect.

#### Summary of changes

Make `PublicKey` back into an array of bytes, remove rent_epoch, and add
a test to make sure the `info()` function works.
@joncinque joncinque merged commit 95404ad into main Aug 17, 2025
6 checks passed
@joncinque joncinque deleted the pubkey-as-bytes branch August 17, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants