Categories
Cryptocurrency Ethereum Mastering Development

Smart contract function not returning expected output

I’m quite new at this and I’m learning both Solidity, Javascript and React to play around with smart contracts. My contract ran well in Remix and in a local test net. I ran a bunch of tests using Mocha and everything went well. My problem lies when I’m trying to fetch data using a .call() […]