Client worker should not care about storage kind (see).
Instead storage should be initialized during node initialization, and passed to client and (storage) workers explicitly. (Or via runtime.Runtime.GetStorage).
Method runtime.Runtime.RegisterStorage should be removed which reduces complexity, worker coupling and is step towards testable workers.
Client worker should not care about storage kind (see).
Instead storage should be initialized during node initialization, and passed to client and (storage) workers explicitly. (Or via
runtime.Runtime.GetStorage).Method
runtime.Runtime.RegisterStorageshould be removed which reduces complexity, worker coupling and is step towards testable workers.