Open dmkozh opened 8 months ago
This is an issue to track several small issues found and recorded in https://github.com/stellar/rs-soroban-env/pull/1314/files, such as:
symbol_new_from_slice
SCSymbol::try_from_bytes
map_new_from_linear_memory
Symbol::try_from_val
deserialize_from_bytes
to_host_val
This is an issue to track several small issues found and recorded in https://github.com/stellar/rs-soroban-env/pull/1314/files, such as:
symbol_new_from_slice
should useSCSymbol::try_from_bytes
instead of duplicating its logic with slight modificationmap_new_from_linear_memory
should useSymbol::try_from_val
on the slice instead of doing XDR roundtripdeserialize_from_bytes
should useto_host_val
directly