paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.network/
1.8k stars 652 forks source link

Add minimal `call` and `instantiate` functions for yul #5578

Closed athei closed 2 weeks ago

athei commented 3 weeks ago

Only keep the parameters used in Solidity/Yul. The functions with many parameters will be moved to a pre-compile. In the meantime we mark them as unstable so they are not accessible.

athei commented 2 weeks ago

As discusses with @xermicus we leave the host functions as-is for now. We won't get rid of the packed structure to pass arguments even with a reduced set of arguments. We will revisit later when 64bit support is implemented and we have more space in registers.