raiden-contracts icon indicating copy to clipboard operation
raiden-contracts copied to clipboard

Simplify the ABI, to prevent mismatching ABI & deployment?

Open pirapira opened this issue 5 years ago • 0 comments

Currently, the contract ABI and the contract address are provided in two different function calls. The ABI comes from contracts_precompiled_path() and the deployment comes from get_contracts_deployment_info(). When the user gives different contracts_versions to these functions, they get mysterious errors.

This issue keeps track of deciding whether or not to simplify the ABI, so that a single call gives both the ABI and the address (or even a Contract object).

pirapira avatar Aug 12 '19 10:08 pirapira