Rust implementation of Namada, a Proof-of-Stake L1 for interchain asset-agnostic privacy
GNU General Public License v3.0
2.4k
stars
956
forks
source link
refactor WASM memory data passing with strict provenance #119
Open
tzemanovic opened 2 years ago
In host-guest WASM FFI, we're doing many unsafe memory pointer conversions. This could be done better with strict provenance. We can use polyfill https://docs.rs/sptr/latest/sptr before this becomes available in stable std. For background: https://gankra.github.io/blah/tower-of-weakenings/