Giter Club home page Giter Club logo

invcon-tool's People

Contributors

franklinliu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

invcon-tool's Issues

docker image "liuyedocker/invcon:latest" not functional anymore

Recently when running the image with a contract ie.

docker pull liuyedocker/invcon:latest 
mkdir /tmp 
docker run -it --rm -v /tmp:/home/realworldcontracts/ liuyedocker/invcon invcon --eth_address 0x0e9d46eed51a527db8f5c12a803eb7fddf4da332 --workspace /home/realworldcontracts/

as described in the readme, one will get always this error for any contract address:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/InvCon-0.1.0-py3.8.egg/invcon/crawler/crawler.py", line 430, in crawl
    contractName, compilerVersion, constructorArguments, sourcecode = self.getSourceCode()
  File "/usr/local/lib/python3.8/dist-packages/InvCon-0.1.0-py3.8.egg/invcon/crawler/crawler.py", line 342, in getSourceCode
    contractName = sourcecode[0]["ContractName"]
TypeError: string indices must be integers

I do remember it working last month, maybe the Etherscan keys are not valid anymore?

Part of the crawler is not properly implemented

For this command:

docker run -it --rm liuyedocker/invcon invcon --eth_address 0x4075a80dd952d27a58c6174f87571fdb7b1b5390

I get the following output:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/InvCon-0.1.0-py3.8.egg/invcon/crawler/crawler.py", line 430, in crawl
    contractName, compilerVersion, constructorArguments, sourcecode = self.getSourceCode()
  File "/usr/local/lib/python3.8/dist-packages/InvCon-0.1.0-py3.8.egg/invcon/crawler/crawler.py", line 342, in getSourceCode
    contractName = sourcecode[0]["ContractName"]
TypeError: string indices must be integers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.