gagliardetto / solana-go

Go SDK library and RPC client for the Solana Blockchain
Apache License 2.0
943 stars 267 forks source link

Deserialise of uint64 in rentEpoch field is overflow #172

Open kotsmile opened 9 months ago

kotsmile commented 9 months ago

here you can see that rentEpoch is 18446744073709552000 > 2**64 - 1 https://solscan.io/account/CSCS9J8eVQ4vnWfWCx59Dz8oLGtcdQ5R53ea4V9o2eUp#solTransfers

gagliardetto commented 9 months ago

I have no relation to solscan.

patrulek commented 9 months ago

Its not related to solscan, but to latest Solana update. Im getting this error when trying to get some accounts info:

rpc.GetMultipleAccountsResult.Value: []*rpc.Account: rpc.Account.RentEpoch: readUint64: overflow, error found in #10 byte of ...|":184467440737095520|..., bigger context ...|wAJbNbGKPFXCWuBvf9Ss623VQ5DA","rentEpoch":18446744073709552000,"space":165},{"data":["sE1XQOCGjm/b8i|...

Let me know, if you need full message.

carlcarl commented 8 months ago

Hi @gagliardetto, I also have such issue and just submit a PR. Could you check it?