From ff7cc9b9cb1643fba5778388e4c1ea69acc8f91e Mon Sep 17 00:00:00 2001 From: Ben Hauser Date: Sun, 7 Jun 2020 19:12:09 +0400 Subject: [PATCH] fix: delete `required_confs` prior to making a call --- brownie/network/contract.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/brownie/network/contract.py b/brownie/network/contract.py index 290238c73..004a05935 100644 --- a/brownie/network/contract.py +++ b/brownie/network/contract.py @@ -919,7 +919,9 @@ def call(self, *args: Tuple, block_identifier: Union[int, str, bytes] = None) -> args, tx = _get_tx(self._owner, args) if tx["from"]: tx["from"] = str(tx["from"]) + del tx["required_confs"] tx.update({"to": self._address, "data": self.encode_input(*args)}) + try: data = web3.eth.call({k: v for k, v in tx.items() if v}, block_identifier) except ValueError as e: