Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions raiden/network/rpc/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion raiden/tests/integration/test_stress.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down