GithubHelp home page GithubHelp logo

Comments (4)

sabotagebeats avatar sabotagebeats commented on July 24, 2024

https://github.com/ApeWorX/ape-foundry/blob/main/ape_foundry/provider.py#L719-L722

this needs to be fixed in geth provider or ape-ethereum in order to work properly without the foundry plugin for anvil

from silverback.

sabotagebeats avatar sabotagebeats commented on July 24, 2024

after fixing that in ape core, I still have the following issue:

$ silverback run -v DEBUG example:app --network http://35.175.202.145:8545
DEBUG: Making request HTTP. URI: http://35.175.202.145:8545, Method: web3_clientVersion
DEBUG: Getting response HTTP. URI: http://35.175.202.145:8545, Method: web3_clientVersion, Response: {'jsonrpc': '2.0', 'id': 0, 'result': 'anvil/v0.1.0'}
DEBUG: Making request HTTP. URI: http://35.175.202.145:8545, Method: web3_clientVersion
DEBUG: Getting response HTTP. URI: http://35.175.202.145:8545, Method: web3_clientVersion, Response: {'jsonrpc': '2.0', 'id': 1, 'result': 'anvil/v0.1.0'}
DEBUG: Making request. Method: web3_clientVersion
DEBUG: Making request HTTP. URI: http://35.175.202.145:8545, Method: web3_clientVersion
DEBUG: Getting response HTTP. URI: http://35.175.202.145:8545, Method: web3_clientVersion, Response: {'jsonrpc': '2.0', 'id': 2, 'result': 'anvil/v0.1.0'}
WARNING: Connecting Geth plugin to non-Geth client 'anvil'.
DEBUG: Making request. Method: eth_chainId
DEBUG: Making request HTTP. URI: http://35.175.202.145:8545, Method: eth_chainId
DEBUG: Getting response HTTP. URI: http://35.175.202.145:8545, Method: eth_chainId, Response: {'jsonrpc': '2.0', 'id': 3, 'result': '0x1'}
DEBUG: Making request. Method: eth_getBlockByNumber
DEBUG: Making request HTTP. URI: http://35.175.202.145:8545, Method: eth_getBlockByNumber
DEBUG: Getting response HTTP. URI: http://35.175.202.145:8545, Method: eth_getBlockByNumber, Response: {'jsonrpc': '2.0', 'id': 4, 'result': {'hash': '0x8039bf2fc5599c3b39f6d230d96abdcaba62f1f4884caffadbbf22984385e3e1', 'parentHash': '0x80d8e0609a83b9a8d1f7a56b04fb0ddd52c3ff9ced2e7aa26fa9c957e02c5d86', 'sha3Uncles': '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347', 'miner': '0x0000000000000000000000000000000000000000', 'stateRoot': '0x0000000000000000000000000000000000000000000000000000000000000000', 'transactionsRoot': '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421', 'receiptsRoot': '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421', 'number': '0x10a12f4', 'gasUsed': '0x0', 'gasLimit': '0x1c9c380', 'extraData': '0x', 'logsBloom': '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', 'timestamp': '0x6482214b', 'difficulty': '0x0', 'totalDifficulty': '0x2a800298f36b809a2031535769c9544d4b3f7600861984a93e538faacdbf5ca8', 'sealFields': ['0x0000000000000000000000000000000000000000000000000000000000000000', '0x0000000000000000'], 'uncles': [], 'transactions': [], 'size': '0x202', 'mixHash': '0x0000000000000000000000000000000000000000000000000000000000000000', 'nonce': '0x0000000000000000', 'baseFeePerGas': '0x7'}}
DEBUG: Making request HTTP. URI: http://35.175.202.145:8545, Method: web3_clientVersion
DEBUG: Getting response HTTP. URI: http://35.175.202.145:8545, Method: web3_clientVersion, Response: {'jsonrpc': '2.0', 'id': 5, 'result': 'anvil/v0.1.0'}
DEBUG: Making request. Method: eth_chainId
DEBUG: Making request HTTP. URI: http://35.175.202.145:8545, Method: eth_chainId
DEBUG: Getting response HTTP. URI: http://35.175.202.145:8545, Method: eth_chainId, Response: {'jsonrpc': '2.0', 'id': 6, 'result': '0x1'}
Traceback (most recent call last):
  File "/home/doge/.pyenv/versions/silverback/bin/silverback", line 33, in <module>
    sys.exit(load_entry_point('silverback', 'console_scripts', 'silverback')())
  File "/home/doge/.pyenv/versions/3.10.1/envs/silverback/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/doge/.pyenv/versions/3.10.1/envs/silverback/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/doge/.pyenv/versions/3.10.1/envs/silverback/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/doge/ape/ape/src/ape/cli/commands.py", line 18, in invoke
    super().invoke(ctx)
  File "/home/doge/.pyenv/versions/3.10.1/envs/silverback/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/doge/.pyenv/versions/3.10.1/envs/silverback/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/doge/.pyenv/versions/3.10.1/envs/silverback/lib/python3.10/site-packages/click/decorators.py", line 84, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/home/doge/.pyenv/versions/3.10.1/envs/silverback/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
TypeError: run() got multiple values for argument 'network'

from silverback.

sabotagebeats avatar sabotagebeats commented on July 24, 2024

nonetype is fixed in ape core but we need to fix the multiple network arguments issue before this will be resolved.

from silverback.

sabotagebeats avatar sabotagebeats commented on July 24, 2024

completing and opening new issue for argument network

from silverback.

Related Issues (20)

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.