Steps to reproduce
Using python,
self._client = Client()
self._client.eth.block_number()
>>> Network might be unstable, try again later.
Reason: b'cannot use a string pattern on a bytes-like object'
Digging in, it looks like it is trying to use json.loads() on a bytes value of a boolean.rpc_api.py, line 142 returns the bytes boolean from response.value and runtime.py trys to call json.loads() on it. I am not sure by observing the data what is supposed to be happening.
Expected behavior
I should get a dict response representing the json-rpc data
Actual behavior
It errors
System configuration
Incubed version
3.3.2
Request
I have tried block_numer() and gas_price()
Incubed Configuration
default
Chain
mainnet and goerli
Steps to reproduce
Using python,
Digging in, it looks like it is trying to use
json.loads()on a bytes value of a boolean.rpc_api.py, line 142 returns the bytes boolean fromresponse.valueandruntime.pytrys to calljson.loads()on it. I am not sure by observing the data what is supposed to be happening.Expected behavior
I should get a dict response representing the json-rpc data
Actual behavior
It errors
System configuration
Incubed version
3.3.2
Request
I have tried
block_numer()andgas_price()Incubed Configuration
default
Chain
mainnetandgoerli