raiden-contracts
raiden-contracts copied to clipboard
Simplify the ABI, to prevent mismatching ABI & deployment?
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).