CityOfZion / neo-python

Python Node and SDK for the NEO 2.x blockchain. For NEO 3.x go to our successor project neo-mamba
https://neo-python.readthedocs.io/en/latest/
MIT License
312 stars 188 forks source link

Unable to import contract. Error: "Non-hexadecimal digit found" #800

Closed EliEladElrom closed 5 years ago

EliEladElrom commented 5 years ago

Current behavior

Expected behavior

How to reproduce

Create Hello World contract name it: sample1.py

def Main():
  print("Hello World")
  return True

Build the contract:

neo> build smartContracts/sample1.py '' 01 False False False

Import

neo> import contract smartContracts/sample1.avm "" 01 False False False

Your environment

Let us know in what environment you're running into the issue:

ixje commented 5 years ago

Hi, Your issue has been fixed in the latest development branch pushed just moments ago. Please be aware that this latest version introduces changes to the cli commands. This means;

Please consult the help output of the individual commands for their usage as some input parameters might have changed order from the old commands.

EliEladElrom commented 5 years ago

I can confirm I was able to build and deploy as expected. Thanks for the quick turn around.