Closed manoranjith closed 3 years ago
Contract registry is implemented to keep track of adjudicator and asset ETH and asset ERC20 contracts.
This is initialized by the node and it is passed onto each of the sessions with a read-only access.
In upcoming changes, APIs will be added in node to add new ERC20 asset contracts to the contract registry.
Also,
Update SetupContracts test helper function to setup ERC20 assets and return a contract registry instead of contract addresses.
Update the reference templates for node & session config.
Implementation Task
Resolves #193.
Tests have been updated to cover the new functionality.
Description
Contract registry is implemented to keep track of adjudicator and asset ETH and asset ERC20 contracts.
This is initialized by the node and it is passed onto each of the sessions with a read-only access.
In upcoming changes, APIs will be added in node to add new ERC20 asset contracts to the contract registry.
Also,
Update SetupContracts test helper function to setup ERC20 assets and return a contract registry instead of contract addresses.
Update the reference templates for node & session config.
Category
Implementation Task
Relevant issue
Resolves #193.
Testing
Tests have been updated to cover the new functionality.
Steps to run the tests
Checklist