Call Execution Tree encoding
drinkcoffee opened this issue · 1 comments
drinkcoffee commented
The Call Execution Tree is encoded as RLP. In Java, this must be decoded to process the call execution tree in the execution engine, and in the Solidity code it has to be decoded. Decoding RLP has been shown to use more gas than by using abi.encodePacked encoding.
Issue: RLP encoding Call Execution Tree is inefficient in Solidity and makes understanding the Java code more complex
Proposed solution: abi encode / binary call execution tree and have a class structure that represents the structure in Java.
drinkcoffee commented
This issue has been resolved with pull request #12