Skip to content

Check the number of already registered tokens when createERC20TokenNetwork fails #4795

@pirapira

Description

@pirapira

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:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions