-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: BCS-compatibility guarantees #71
Comments
Hi! Thanks for your interest in this new rust sdk. The eventual goal for this project is to be the goto rust sdk for builders to use to integrate with Sui. So to that end, yes, the expectation and goal of this library is to be BCS-compatible with all of the public, core types of Sui (Checkpoint, Object, Transaction, etc). If something isn't compatible we'd treat that as a bug to be fixed. Given new enum variants are occasionally added to some types there may be times where a new variant may not be supported yet but the goal would be to minimize the time where there is this gap.
Thanks for the suggestion, i'll look to get something added here shortly. |
I expect that to be the case when compared to the So, for example, the new I know testnet might not seem like a huge priority, but we test a lot of our infra on it. So having the deserialization compatibility guarantee against testnet is a make-or-break deal for us. Hope this perspective helps clarify things |
I agree, this sounds like a reasonable goal for this project to have. |
Hi folks. I've been following closely the development of
sui-sdk-types
and I'm eager to use it. I've already done tests to confirm it's compatible with our codebase on the compilation level.The main clarification I'm seeking before migrating some of our codebase is: will
sui_sdk_types::types::CheckpointData
always be BCS-compatible with the checkpoint data produced by the latest testnet version?That should cover almost all types that are relevant to applications that act on data post-execution on the Sui network. It would also allow builders like us to develop custom indexing pipelines without depending on the
MystenLabs/sui
repo at all.And more generally, it would be good to have the (de)serialization compatibility guarantees stated directly in the repository Overview
The text was updated successfully, but these errors were encountered: