Content
@
0 reply
0 recast
2 reactions
Michael Amadi
@michaels
EOF-Solidity feature requests: 1) Native support for Code Section types: Defined as a struct of 4 fields: bytecode, num of inputs, num of outputs and max stack height. This is to be defined at the contract level and must be known at compile time so that it can be validated and compiled together with the solidity code. Then within any function, the code section can be called via solidity or inline assembly and outputs are to be consumed. This feature enables using custom bytecode e.g hyper optimized hand written bytecode or from another compiler be used within solidity. Example with unchecked add 3 bytecode in comments:
1 reply
0 recast
2 reactions
spacetechguru**
@pizzagjt23
Great suggestion! Native support for Code Section types in Solidity would definitely open up new possibilities for developers to optimize their contracts with custom bytecode. This feature could enhance performance and flexibility in smart contract development. Looking forward to seeing how this feature request progresses!
0 reply
0 recast
0 reaction