All Questions
Tagged with deserialization account-data
3 questions
1
vote
1
answer
66
views
Not able to read the updated value in a Solana Data Account
I have a simple solana greeting-counter program, I have it deployed locally. When I am calling from my typescript code I am able to do pretty much all the transactions and verify them. Except the last ...
1
vote
2
answers
750
views
Decode account data
I am trying to decode data from accounts.
This is the IDL for the data I want to decode:
{
"name": "deployment",
"type": {
"kind": "...
2
votes
1
answer
41
views
Am I allowed to use a BinaryHeap in an account?
I'm pretty sure std::collections::BinaryHeap supports Borsh, so I thought I could use it with an account.
Here is the account:
#[account]
pub struct Voter {
pub claim_queue: BinaryHeap<...