p2p-org / solanaj

MIT License
86 stars 101 forks source link

Add commitment + dataSlice support for getAccountInfo, Associated tests, Refactor RpcSendTransactionConfig model #5

Closed ghost closed 3 years ago

ghost commented 3 years ago

Add commitment + dataSlice support for getAccountInfo, associated tests, refactor RpcSendTransactionConfig model.

Interested in any discussion. I don't think the RpcSendTransactionConfig was needed in this instance, and probably the other instance it is used, and may refactor it out entirely, if that would work.

b1acksun commented 3 years ago

RpcSendTransactionConfig was designed to use as a config object in various methods calls (getProgramAccounts, getTokenAccountsByDelegate, etc). Not fully implemented.

ghost commented 3 years ago

Closing this in favor of better/smaller/less-destructive modifications.