- Version: 3.16.2
- Python: 3.5
- OS: linux
What was wrong?
I'm trying to query a contract state 6 block ago. Unlike web3.js api in Contract.call I can't specify block identifier to run this call against.
What is a correct way of doing this in web3py?
Am I correct in my understanding that as a workaround I can temporarily set Eth.defaultBlock to desired number and I won't run into any internal web3py thread/green thread concurrency issues?
How can it be fixed?
I'm feature-requesting addition of block identifier parameter in Contract.call in accord with web3.js api.