apeworx / ape-tenderly Goto Github PK
View Code? Open in Web Editor NEWTenderly network provider plugin for the Ape Framework
Home Page: https://apeworx.io
License: Apache License 2.0
Tenderly network provider plugin for the Ape Framework
Home Page: https://apeworx.io
License: Apache License 2.0
ape
and plugin versions:$ ape --version
0.7.9
$ ape plugins list
Installed Plugins
alchemy 0.7.1
arbitrum 0.7.2
etherscan 0.7.1
foundry 0.7.3
ganache 0.7.0
solidity 0.7.1
tenderly 0.7.0b0
tokens 0.7.1
After adding TENDERLY_PROJECT
from project settings on tenderly dashboard, TENDERLY_ACCESS_KEY
from my personal account, and TENDERLY_GATEWAY_ACCESS_KEY
from gateway page
I'm getting this error related to the TENDERLY_PROJECT
variable
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/bin/ape", line 8, in <module>
sys.exit(cli())
^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/ape/_cli.py", line 79, in invoke
return super().invoke(ctx)
^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/ape/cli/commands.py", line 95, in invoke
with network_ctx as provider:
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/ape/api/networks.py", line 677, in __enter__
return self.push_provider()
^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/ape/api/networks.py", line 690, in push_provider
self._provider.connect()
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/ape_tenderly/provider.py", line 45, in connect
self._web3 = Web3(HTTPProvider(self.uri))
^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/ape_tenderly/provider.py", line 42, in uri
return self.fork.json_rpc_url
^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/functools.py", line 995, in __get__
val = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/ape_tenderly/provider.py", line 38, in fork
return self._create_fork()
^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/ape_tenderly/provider.py", line 30, in _create_fork
fork = self._client.create_fork(chain_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/ape_tenderly/client.py", line 74, in create_fork
return Fork.model_validate_json(response.json().get("fork"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pydantic/main.py", line 532, in model_validate_json
return cls.__pydantic_validator__.validate_json(json_data, strict=strict, context=context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 1 validation error for Fork
JSON input should be string, bytes or bytearray [type=json_type, input_value={'id': 'a8e12b22-5853-4cd...4cdd-bd96-32143dbbb5da'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/json_type
Fill this in if you have ideas on how the bug could be fixed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.