anoma / anoma

Reference implementation of Anoma
https://anoma.net
MIT License
430 stars 176 forks source link

add VM interface to read/write raw bytes #750

Closed tzemanovic closed 2 years ago

tzemanovic commented 2 years ago

add an interface to the tx and VP VM host env to read/write raw bytes (without borsh encoding)

tzemanovic commented 2 years ago

This would be useful for e.g. DKG PVSS public keys that cannot yet be compiled to wasm that is being written by a tx::write as byte vector, which double encodes the value (tx::write encodes the vec with borsh)

tzemanovic commented 2 years ago

done in #735