When TokenNetworkRegistryProxy tries to call createERC20TokenNetwork() and the call fails because the TokenNetworkRegistry contract already has too many TokenNetworks registered, the code seems to raise a RaidenUnrecoverableError with not much information.
The correct approach is to raise a more specific error:
When TokenNetworkRegistryProxy tries to call
createERC20TokenNetwork()and the call fails because the TokenNetworkRegistry contract already has too many TokenNetworks registered, the code seems to raise a RaidenUnrecoverableError with not much information.The correct approach is to raise a more specific error:
raiden/raiden/network/proxies/token_network_registry.py
Line 188 in ee3336d