-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible with newest web3 #16
Comments
One version that works is 3.4.4 |
@LoCorVin using 3.4.4 gives me the following error File "/usr/local/lib/python3.5/dist-packages/web3/utils/crypto.py", line 26, in any other workaround? |
No, until now i still have problems getting it to run. When analyzing a contract, a call to sha3 contracts.py expects a static signature, but web3 on 3.4.4 provides a signature expecting a argument self, so in theory we need a Web3 instance first. |
@LoCorVin Thanks for the update. even i have some problems. Tried using other web3 versions but had other dependency issues. |
If you ever get it running pleas tell me, maybe we can initiate a pull request with a Dockerfile that encapsulates all dependencies |
@LoCorVin Will surely let you know! |
After converting several divisions to integer divisions in execute_instruction.py, it works with python3. I built the z3 python3 bindings and used these versions for dependencies:
I have not done extensive testing, but the examples seem to work. |
When i run mayan.py i get an import error:
File "maian.py", line 24, in
from web3 import Web3, KeepAliveRPCProvider, IPCProvider
ImportError: cannot import name 'KeepAliveRPCProvider'
my assumption is that the ''KeepAliveRPCProvider' was removed sometime. I compiled web3 from the current version 4.1 source.
Do you use a different one, can you provide the version?
Regards,
Konrad
The text was updated successfully, but these errors were encountered: