Open Allen-Cherian opened 3 months ago
The first part of the enhancement the basic modularisation of the memory allocation is done and can be found here https://github.com/rubixchain/Rubix-Smart-Contract-Examples/tree/main/bidding-contract The next stage of enhancement will be to make these changes into a package so that developers will be able to import this and use in an easy manner.
Current Implementation :
Right now we are passing the entire byte array onto the Wasm memory and is obtaining the values based on the length. Later this values are being utilized by Wasm to carry on with the logic which is implemented.
Enhancement trying to be achieved :
The improvement which is being brought in is better utilization of the memory in a structured manner. Also to remove the hassles which are there while implementing the contract. In easy terms trying to optimize the contract guidelines to make it more developer friendly.