All contract calls returning null

by Jonah   Last Updated July 12, 2019 00:28 AM

I'm building a browser extension that uses web3.js over websocket to Infura and for some reason all my contract calls are returning null in my production build. When testing the app as a web app in the browser all calls work just fine. But when I build and load the app as an extension, all calls just silently return null without any errors or warnings. There are no CORS warnings or errors either, so that doesn't seem to be the issue.

My question is what all could cause a contract call to return null?

It's a bit annoying that I have to ask this question because there should be an error but instead it silently just returns null

Tags : web3js


Related Questions


Updated January 06, 2019 18:28 PM

Updated December 20, 2018 15:28 PM

Updated November 19, 2018 05:28 AM

Updated February 05, 2019 10:28 AM

Updated March 25, 2019 23:28 PM