You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My contract deploys, and transactions are working. But when I try to retrieve data with a view function, I get an error saying it's not synced. My project depends on retrieving data, please help me out!
print(funcs.showPDetails().call()) #Error causing line
#funcs is declared as contractname.functions & works with transactions
#showPDetails() is a view function in the contract with just a return line
Error (end of error messages): web3.exceptions.BadFunctionCallOutput: Could not transact with/call contract function, is contract deployed correctly and chain synced?
Browsed the internet, a few people did have this issue but most were unanswered. One suggested solution to add time.sleep(50) did not make a difference for me.
The text was updated successfully, but these errors were encountered:
My contract deploys, and transactions are working. But when I try to retrieve data with a view function, I get an error saying it's not synced. My project depends on retrieving data, please help me out!
print(funcs.showPDetails().call()) #Error causing line
#funcs is declared as contractname.functions & works with transactions
#showPDetails() is a view function in the contract with just a return line
Error (end of error messages): web3.exceptions.BadFunctionCallOutput: Could not transact with/call contract function, is contract deployed correctly and chain synced?
Browsed the internet, a few people did have this issue but most were unanswered. One suggested solution to add time.sleep(50) did not make a difference for me.
The text was updated successfully, but these errors were encountered: