Open SergeyDevyatkov opened 7 months ago
not only the order is different but variant/initialized are two very different properties (albeit of the same type)
@zarex5 so it means that when a new portion of data was committed to Solana backend, the Rust-written program itself was responsible for deserializing that data and storing it in this specific order (namely rating, title and description)?
thanks for this issue.
I was having problems sorting the movies data. but I didn't notice the borsh schema was different.
now I understand more clearly for this process.
Trying to understand, not explained anywhere, why the fields order is different in serialize and deserialize methods in movie model?