-
Notifications
You must be signed in to change notification settings - Fork 258
Description
新的RPC服务器是https://bartio.rpc.berachain.com/
approve_result = bera.approve_token(ooga_booga_address, int("0x" + "f" * 64, 16), honey_address)
File "E:\TT\BeraChainTools\bera_tools.py", line 201, in approve_token
allowance_balance = approve_contract.functions.allowance(self.account.address, spender).call()
File "E:\OpenAI\PaddleX_DeskTop\resources\codelab\lib\site-packages\web3\contract\contract.py", line 305, in call
return call_contract_function(
File "E:\OpenAI\PaddleX_DeskTop\resources\codelab\lib\site-packages\web3\contract\utils.py", line 129, in call_contract_function
raise BadFunctionCallOutput(msg) from e
web3.exceptions.BadFunctionCallOutput: Could not transact with/call contract function, is contract deployed correctly and chain synced?