diff --git a/raiden/network/rpc/client.py b/raiden/network/rpc/client.py index 9c9b504f05..c1f40c0b83 100644 --- a/raiden/network/rpc/client.py +++ b/raiden/network/rpc/client.py @@ -195,7 +195,6 @@ def __init__( self.sender = sender self.web3 = web3 - self._gaslimit_cache = TTLCache(maxsize=16, ttl=RPC_CACHE_TTL) self._gasprice_cache = TTLCache(maxsize=16, ttl=RPC_CACHE_TTL) self._available_nonce = _available_nonce self._nonce_lock = Semaphore() @@ -218,7 +217,6 @@ def balance(self, account: Address): """ Return the balance of the account of given address. """ return self.web3.eth.getBalance(to_checksum_address(account), 'pending') - @cachedmethod(attrgetter('_gaslimit_cache')) def gaslimit(self, location='latest') -> int: gas_limit = self.web3.eth.getBlock(location)['gasLimit'] return gas_limit * 8 // 10 diff --git a/raiden/tests/integration/test_stress.py b/raiden/tests/integration/test_stress.py index 6fc7dc80fe..8a9cc7fefd 100644 --- a/raiden/tests/integration/test_stress.py +++ b/raiden/tests/integration/test_stress.py @@ -347,7 +347,6 @@ def assert_channels(raiden_network, token_network_identifier, deposit): @pytest.mark.parametrize('deposit', [5]) @pytest.mark.parametrize('reveal_timeout', [15]) @pytest.mark.parametrize('settle_timeout', [120]) -@pytest.mark.skip(reason='Issue 2492') def test_stress( request, raiden_network,