gagliardetto

Results 52 comments of gagliardetto

https://godoc.org/github.com/satori/go.uuid?importers

It most likely means that the instruction was not found. Are you using the client on an anchor program on mainnet?

Can you serialize to base64 the anchor equivalent of the same transaction? And post it here (or send privately)

hey @godtoy being able to fetch IDLs from the chain is a very useful thing to have! :smile: from a first look, it looks good to me. but can you...

The tests fail because the IDL has been updated :face_in_clouds:

How about changing the test to something like this: - Instead of asserting a size equality, how about asserting json content field? How about `idlJSON["name"] == "nft_magiceden"`?

> cc @gagliardetto I'm planning to fix this today. The bug here is that reflect.MakeSlice is called without prior bounds checks. (Bounds checks are only implied as the slice is...

See https://github.com/gagliardetto/solana-go/issues/45

> Most RPC calls also have issues: they return pointers which could be deserialized to `nil`. > > For example > > https://github.com/gagliardetto/solana-go/blob/7de08b22f3afd588a275212aff05fa5f2580f356/rpc/getBalance.go#L25-L34 > > could return `GetBalanceResult` rather than...

hi @olegfomenko thanks for the PR! can you please add some tests?