There is a strange error occurring when passing the full code data from the kernel (that is using EXTCODECOPY) to a client. I'm not sure what it causing it, but reallocating the vector in some way seems to fix it.
This is currently working fine with this hack disabled. Given we can't reproduce it anymore we may just have to close it. It may have been fixed with some other changes.
There is a strange error occurring when passing the full code data from the kernel (that is using EXTCODECOPY) to a client. I'm not sure what it causing it, but reallocating the vector in some way seems to fix it.
https://github.com/Daohub-io/cap9/blob/9f8aca698f98f13e28f5cd2d0a7a7b37fd88a13a/kernel-ewasm/cap9-kernel/src/lib.rs#L130-L140