avalon icon indicating copy to clipboard operation
avalon copied to clipboard

Ethereum and Fabric worker and registry implementations differ

Open danintel opened this issue 5 years ago • 0 comments

Whlie documenting the Ethereum and Fabric SDKs I noticed the implementations differ.

For these methods for Etherum, the return code is: Transaction receipt on success or None on error. For Fabric, the return code is: ContractResponse.SUCCESS on success or ContractResponse.ERROR on error.

The methods where the implementation differs are:

Methods registry_add(), registry_update(), registry_set_status() File sdk/avalon_sdk/ethereum/ethereum_worker_registry_list.py File sdk/avalon_sdk/fabric/fabric_worker_registry_list.py

Methods worker_register(), worker_update(), worker_set_status() File sdk/avalon_sdk/ethereum/ethereum_worker_registry.py File sdk/avalon_sdk/fabric/fabric_worker_registry.py

danintel avatar Mar 24 '20 15:03 danintel