Comments (4)
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.
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.
nonetype is fixed in ape core but we need to fix the multiple network arguments issue before this will be resolved.
from silverback.
completing and opening new issue for argument network
from silverback.
Related Issues (20)
- [SBK-314] Add REST API for command/control/monitoring
- bug(client): rounding error on allowance #227 [SBK-341]
- bug(client): Transaction processing error on approve() #228 [SBK-342]
- discussion: start_block parameter in decorator [SBK-360] HOT 2
- bug: BlockNotFoundError: Missing latest block. Reason: when sending a str, it must be a hex string. Got: 'latest' HOT 2
- Not a valid TransactionType error with goerli/sepolia testnet HOT 14
- feat: Logging results to console HOT 2
- Allow filtering for Event Log tasks HOT 1
- Refactor Runner to be stateless HOT 1
- Managed Parameters HOT 1
- Runtime Data Acquistion HOT 3
- Gracefully resolve shutdown HOT 1
- use GHCR instead of Dockerhub HOT 1
- `silverback worker` does not use independent processes per worker HOT 4
- bug: websockets.exceptions.ConnectionClosedError: no close frame received or sent HOT 2
- More dynamic broker configuration HOT 8
- Track `app.signer` transactions in `TaskResult` HOT 1
- Add autosign to runner HOT 2
- !breaking: reference newly created base ape image for the silverback image HOT 1
- feat: add support for defining tools and settings in toml HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silverback.