TokenNetworkRegistry class's add_token() calls createERC20TokenNetwork() function of the TokenNetworkRegistry smart contract. This call fails when chain_id stored in the smart contract is zero.
This issue keeps track of adding
- a precondition check against zero chain_id
- a post-failure check against zero chain_id
TokenNetworkRegistry class's
add_token()callscreateERC20TokenNetwork()function of the TokenNetworkRegistry smart contract. This call fails whenchain_idstored in the smart contract is zero.This issue keeps track of adding