Turns out fhenix.js supported this change out of the box! Hurray! (I checked the code itself, not just seeing the tests passing)
Note: this is probably a breaking change which will cause old contracts to fail. How would we handle this in mainnet?
Note2: I can now see that we can go one level deeper, to the warp-drive submodule, since it converts it to bytes itself. We can save a conversion. So instead of localoracle ->(string)-> warp-drive -> (bytes) -> fheos -> (string) -> Contract we would have all of them being strings. should I do that?
Turns out fhenix.js supported this change out of the box! Hurray! (I checked the code itself, not just seeing the tests passing)
Note: this is probably a breaking change which will cause old contracts to fail. How would we handle this in mainnet? Note2: I can now see that we can go one level deeper, to the warp-drive submodule, since it converts it to bytes itself. We can save a conversion. So instead of
localoracle ->(string)-> warp-drive -> (bytes) -> fheos -> (string) -> Contract
we would have all of them being strings. should I do that?monday: https://fhenix.monday.com/boards/1216577959/views/4451803/pulses/1437935348