Closed Stanislav-Povolotsky closed 4 months ago
Hi, thank you for PR!
But ToCell
serialization of Message
type is already implemented in dev-19 branch (v1.9 will be released soon).
And for the *Ex methods I think they are for too specific use cases, and it is better to just call api.Client().QueryLiteserver(ctx, GetBlockData{ID: block}, &resp)
in your project's code to get such data, to not overcomplicate library.
Hello Oleg, Sounds great! Thank you for you work! You are right. I will implement *Ex functions in my own code, but, I'll have to duplicate proof-check-logic in my code (for example: I will have to copy whole APIClient.GetTransaction function to later be able to check the proof of the saved TransactionInfo cell. It would be great if the library could provide the ability to check the proof for such cells with additional functions (cell deserialization with the proof-checking). But I understand that this will also overcomplicate the library, which may be undesirable)