You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we can only pass arguments that fit into registers to exported functions. I want to pass larger types either on the stack or some other memory region.
My use case is that I want to pass the amount of balance a contract running on pallet_contracts received as an argument (256bit). This will save us a host function call since almost every Solidity contract will query it. The first 256bit of the input data is another candidate since it contains the selector. hose two things are already more than we can pass in our 6 input registers.
The text was updated successfully, but these errors were encountered:
Right now we can only pass arguments that fit into registers to exported functions. I want to pass larger types either on the stack or some other memory region.
My use case is that I want to pass the amount of balance a contract running on pallet_contracts received as an argument (256bit). This will save us a host function call since almost every Solidity contract will query it. The first 256bit of the input data is another candidate since it contains the selector. hose two things are already more than we can pass in our 6 input registers.
The text was updated successfully, but these errors were encountered: