Smart contract proxies should try to avoid sending transactions that are going to fail. Currently, TokenNetworkRegistry's proxy sends createERC20TokenNetwork() transactions without checking the value of settlement_timeout_min. If settlement_timeout_min is zero, the transaction fails because TokenNetwork's constructor fails.
Also, when a transaction fails in a block or when gas estimation fails, a similar check helps to diagnose the problem.
This issue keeps track of adding these checks in TokenNetworkRegistry's proxy.
Smart contract proxies should try to avoid sending transactions that are going to fail. Currently, TokenNetworkRegistry's proxy sends
createERC20TokenNetwork()transactions without checking the value ofsettlement_timeout_min. Ifsettlement_timeout_minis zero, the transaction fails becauseTokenNetwork's constructor fails.Also, when a transaction fails in a block or when gas estimation fails, a similar check helps to diagnose the problem.
This issue keeps track of adding these checks in TokenNetworkRegistry's proxy.