Categories
Cryptocurrency Ethereum Mastering Development

Contract not returning error to React Interface

I have a contract which I’ve tested with Mocha and Remix and is working just fine. The problem is when I’m running it with my React Interface. When I call a function in my solidity contract that checks if the account exists, in mocha and remix it returns an error as expected, but in React […]

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() […]