ethjs / ethjs-contract

A simple contract object for the Ethereum RPC layer.
MIT License
20 stars 28 forks source link

Sometimes silent failure when not initialized with EthQuery #1

Open danfinlay opened 7 years ago

danfinlay commented 7 years ago

ethjs-contract

Issue Type

Description

I was revamping the test suite for ethjs-ens to use a testrpc and deploy its own ens on it, and was stuck on a silent failure for longer than I care to admit.

This line shows me trying to deploy a contract from an instance that never had an EthQuery object.

It wasn't until I deployed with web3 instead and then instantiated a contract object that I got the EthQuery error passed to me.

Steps to reproduce

You could pull down that repo branch and run npm i && node test on it, but really just an earlier validation should do.

Versions

SilentCicero commented 7 years ago

Hmm, I'll need more information to debug.