I have a transaction struct tx which contains to, value and data and is executed with tx.to.call.value(tx.value)(tx.data).

In Solidity, how do I preprocess data to take a function name and arguments of to?

I understand (perhaps incorrectly) that data needs to be RLP encoded.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.