GeekyAnts / sample-supply-chain-ethereum

26 stars 16 forks source link

User issue #1

Open proff-amakobe opened 2 years ago

proff-amakobe commented 2 years ago

Hello, Thanks for sharing this code. I am doing a POC for the supply chain and came across it. However, I followed the steps and set up my environment. There are two issues I'm facing.

  1. When I click on the login button I get a "Couldn't retrieve user details" error
  2. I figured maybe I need to deploy the contract and use a different contract and ABI. The trouble here is I'm not sure which sol file to use, the instructions say "ballot.sol" which is missing in the contract folder, therefore, I went ahead and used the supplychain.sol file. This proves to be too big and fails when creating a contract with "Warning! Error encountered during contract execution [max code size exceeded] " It also produces a completely different json from the one in the repo. This causes the product page to say "No products found" Please let me know where I am going wrong.

Thanks, Moody

pakistanimoon commented 1 year ago

I found same issues when followed all steps mentioned in readme