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 getFulfillment return data b'' for output_types ['bool', 'address', 'string'] #1754

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

Comments

@mbeacom
Copy link
Contributor

mbeacom commented Jul 15, 2018

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

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 225, in get_bounty
    accepted, fulfiller, data = standard_bounties.functions.getFulfillment(bounty_enum, fulfill_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 getFulfillment return data b'' for output_types ['bool', 'address', 'string']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 15, 2018
@mbeacom mbeacom closed this as completed Aug 1, 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