

Each struct or array element uses the next storage position, as if each one was defined separately on its own.So the first state variable is stored at position 0, the second state variable is stored at position 1, the third stored at position 2, etc. Storage layout for state variables begin at position 0 and increments for each new state variable.The crux of the potential issues is due to how EVM stores state: This is the only way i can ask Tarun to get in touch with refer to this blog post which explains how storage collision can occur. Also, please leave your number (whatsapp), or your telegram name or discord name. Maybe this Project is not supposed to be done on ganache ? I am just curious to learn More. One More thing I have not been able to understand yet is that while my Truffle shows only 4 deployments as I had intended - migrations, ArrayUtils, Kittycontract and Proxy), my Ganache shows 5 deployments (including the KittycontractUpdated.sol )īut since migrate -reset, My Ganache has hibernated and non -responsive. On the Blockchain side (in solidity), everything is working/ compiling well. Or Kindly enlighten me if I have absolutely followed the wrong approach and maybe I should have followed a Newer better approachĪlso, I am not so strong in JS, so somehow (inspite of several trials), my Kitties are not showing on my Marketplace.html page and catalogue.html page ( and the funny part is that the Console is showing No errors also, so maybe its a matter of visibility and not functionality - which i am unable to figure out- So Please help me if you can while you scroll through the Project).

I have done the Unit testing in the deployer only (although its not recommended, but Honestly i also couldn’t figure out how to implement a Unit testing on a Kittycontract through a Proxy Interaction without deploying ? )īut now, all the Tests are actually working Fine, thats my biggest relief, Just have a look if you can add some points and make this project Better and more Knowledgeable / Informative for me as well as you, perhaps. Please download the CryptoKittiesUpgradeable.zip file(which contains the Proxy.sol, Storage.sol, Kittycontract.sol and KittycontractUpdated.sol) and not the CryptoKitties.zip file (This is the normal Project)
