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

BadFunctionCallOutput: Could not decode contract function call getBountyArbiter return data b'' for output_types ['address'] #1612

Closed
mbeacom opened this issue Jul 4, 2018 · 0 comments
Labels
backend This needs backend expertise.

Comments

@mbeacom
Copy link
Contributor

mbeacom commented Jul 4, 2018

View details in Rollbar: https://rollbar.com/gitcoin/gitcoin/items/432/

Traceback (most recent call last):
  File "/home/ubuntu/gitcoin/coin/app/dashboard/management/commands/sync_geth.py", line 62, in handle
    bounty = get_bounty(bounty_enum, network)
  File "/home/ubuntu/gitcoin/coin/app/dashboard/utils.py", line 214, in get_bounty
    arbiter = standard_bounties.functions.getBountyArbiter(bounty_enum).call()
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/contract.py", line 852, in call
    **self.kwargs)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/contract.py", line 1065, in call_contract_function
    raise BadFunctionCallOutput(msg) from e
BadFunctionCallOutput: Could not decode contract function call getBountyArbiter return data b'' for output_types ['address']Traceback (most recent call last):
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/contract.py", line 1043, in call_contract_function
    output_data = decode_abi(output_types, return_data)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/eth_abi/abi.py", line 63, in decode_abi
    return decoder(stream)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/eth_abi/decoding.py", line 99, in __call__
    return self.decode(stream)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/eth_utils/functional.py", line 22, in inner
    return callback(fn(*args, **kwargs))
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/eth_abi/decoding.py", line 137, in decode
    yield decoder(stream)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/eth_abi/decoding.py", line 99, in __call__
    return self.decode(stream)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/eth_abi/decoding.py", line 162, in decode
    raw_data = cls.read_data_from_stream(stream)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/eth_abi/decoding.py", line 244, in read_data_from_stream
    len(data),
InsufficientDataBytes: Tried to read 32 bytes.  Only got 0 bytes
@mbeacom mbeacom added backend This needs backend expertise. rollbar labels Jul 4, 2018
@mbeacom mbeacom closed this as completed Jul 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This needs backend expertise.
Projects
None yet
Development

No branches or pull requests

1 participant