I'm trying to figure out how to interact with the current version of the Casper contract from Solidity. The vote-function in the casper contract takes an array of bytes, which represents the RLP-encoded vote message. Is there a straightforward way of encoding messages using RLP in Solidity?
I don't know if there is any native library available in Solidity, but there are node-js libraries available will help you do that. I also found this solidity code when doing a search on RLP, have a look at the code snippet below:
Here is a thread on RLP Encoding:
Hope this helps.