xf00f / web3x

Ethereum TypeScript Client Library - for perfect types and tiny builds.
211 stars 27 forks source link

Contracts with no constructor cannot be deployed #23

Closed AlexCheema closed 5 years ago

AlexCheema commented 5 years ago

Constructors are optional for solidity contracts.

  1. Build a contract without a constructor
  2. Create an instance without an address and attempt to deploy
  3. tx-deploy.ts encodeABI -> this.contractEntry is undefined.
xf00f commented 5 years ago

@AlexCheema This should be fixed in v3.0.2. Thank you for reporting.