stellar / rs-soroban-env

Rust environment for Soroban contracts.
Apache License 2.0
60 stars 40 forks source link

Return InvalidInput error for some ScVal conversions #1309

Open dmkozh opened 8 months ago

dmkozh commented 8 months ago

Currently some ScVals coming from the user input are passed to to_host_val without prior validation. They should either be validated before calling the function, or we should just have to variants of to_host_val for external and internal inputs.