apeworx / ape-arbitrum Goto Github PK
View Code? Open in Web Editor NEWArbitrum ecosystem plugin for the Ape Framework
Home Page: https://www.apeworx.io/
License: Apache License 2.0
Arbitrum ecosystem plugin for the Ape Framework
Home Page: https://www.apeworx.io/
License: Apache License 2.0
Arbitrum has 5 networks according to chainlist.org
3 of these network are "production" meaning they operate as L2s off Ethereum or another L1 (xDai/Gnosis Chain), and the other two are testnets (although Rinkeby is being deprecated)
Unfortunately, we only have the Rinkeby testnet as testnet
(which is the wrong key, it should be using rinkeby
)
Update in breaking change release v0.5.0
to change testnet
to rinkeby
, add goerli
and nova
, and consider changing mainnet
to one
since Arbitrum One and Arbitrum Nova are both Ethereum Mainnet L2s
Updates to Infura, Alchemy, and other providers that support Arbitrum required
ape
and plugin versions:$ ape --version
0.5.9
$ ape plugins list
Installed Plugins:
arbitrum 0.5.2
etherscan 0.5.4
Please include information like:
Run in console:
tx_hash = '0x452398f3a8c63d2b525d96972c64e0f3e732ce8f2d7aac7ff0400ef79b96e25d'
networks.provider.get_receipt(tx_hash)
ApeArbitrumError
arises in this here as following:
ApeArbitrumError: Transaction type 'TransactionType.DYNAMIC' not supported.
Other tx hashes which will end up with the same err, for verifying at your end:
0x7fb352dc5fd029733db1d9a69b212ea7480e722fb011d9cae446ece6fafc5d1c
0x026e0abf00b974882c54e28e8fc7ffc3c0c226175808c698534d8b59d16a904a
0xe7a6701733f9fd384dd1d435f6d1710f8e7e39c69ae6b237bd7eed430d0d4199
0x379194dcff39da869c5f96502c879b7b926cf619d907477c727cd0fbfb3ce577
See PR #10
Automatically created from Linear (#603)
via LinearSync
https://github.com/ApeWorX/ape-arbitrum/releases/tag/v0.7.0
should read "Ape Arbitrum 0.7.0"
Automatically created from Linear (#604)
via LinearSync
ape
and plugin versions:$ ape --version
0.5.4
$ ape plugins list
Installed Plugins:
etherscan 0.5.4
arbitrum 0.5.1
Running either of the following methods:
chain.get_receipt('0x1c38688523bf47921fef5551451fefa6e2e5d77991ea674d572f02d72dda4dc7')
or
networks.provider.get_receipt('0x1c38688523bf47921fef5551451fefa6e2e5d77991ea674d572f02d72dda4dc7')
Raises the following TypeError: Value must be an instance of str
while decoding the hex at this line
Locally was resolved by ensuring bytes
is not passed as an argument in that method. e.g:
if "input" in kwargs:
input_hexed = kwargs.pop("input").hex()
kwargs["data"] = decode_hex(input_hexed)
I tried to interact with address '0x0180dee5Df18eBF76642e50FaaEF426f7b2874f7' which is a proxy contract on arbitrum mainnet but got a contract type error.
command:
ape console --network arbitrum:mainnet -v DEBUG
console:
from ape import Contract
Contract('0x0180dee5Df18eBF76642e50FaaEF426f7b2874f7' )
Then I got this error
File "/Users/raychang/Desktop/aus_brownie/.venv/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 3508, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "/Users/raychang/Desktop/aus_brownie/.venv/lib/python3.9/site-packages/ape/managers/chain.py", line 1114, in instance_at
raise ChainError(f"Failed to get contract type for address '{contract_address}'.")
ERROR: (ChainError) Failed to get contract type for address '0x0180dee5Df18eBF76642e50FaaEF426f7b2874f7'.
I think it's due to the proxy contract since Contract works fine for other addresses. Have tried to use abi from the proxy one and the implemented one but still got same errors. need advice
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.