Skip to content
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

sha3() missing 1 required positional argument: 'value' #22

Open
johniadeluca opened this issue Jul 6, 2018 · 6 comments
Open

sha3() missing 1 required positional argument: 'value' #22

johniadeluca opened this issue Jul 6, 2018 · 6 comments

Comments

@johniadeluca
Copy link

Getting this error after installing and adhering to all of the indicated dependencies mentioned earlier.

Traceback (most recent call last):
  File "maian.py", line 182, in <module>
    main(sys.argv[1:])
  File "maian.py", line 105, in main
    fhashes = get_function_hashes( args.soliditycode[1] )
  File "/Users/johniadeluca/Desktop/logoEdits/MAIAN/tool/contracts.py", line 59, in get_function_hashes
    hash_op = Web3.sha3(hs.encode('utf-8'), encoding='bytes')
  File "/Users/johniadeluca/anaconda3/lib/python3.6/site-packages/web3/utils/string.py", line 83, in inner
    return force_obj_to_text(fn(*args, **kwargs))
TypeError: sha3() missing 1 required positional argument: 'value'

Any help/ideas? Can't find the declaration of sha3()

@77aq
Copy link

77aq commented Jul 9, 2018

met it too

@tutu6289
Copy link

oh,I met it too...

@Ryokocc
Copy link

Ryokocc commented Jul 22, 2018

I replace web3 to 3.4.4,and then met this problem....

@fabioajm
Copy link

fabioajm commented Sep 9, 2018

Has anyone found the fix?

@Rimay
Copy link

Rimay commented Jun 20, 2019

I met the same problem, has anybody solved it???

@gsalzer
Copy link

gsalzer commented Dec 20, 2021

Try the fork at https://github.com/smartbugs/MAIAN, which updates Maian to recent versions of Python3, web3 and z3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants