You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are some general things that stand out to me after not having seen the code for a year. Most things concern idiomatic code, but some of them would increase readability, and therefore productivity. Not everything necessarily needs to be implemented, but could be if we touch that part of the code anyhow.
I don't think the WorkerApi should be nested within the worker. It rather belongs to the client or primitives.
Cleanup the Eclave_t-/u.* files by moving them in a separate directory. (Possibly lib.)
The Stf does not make much sense to me anymore. All the methods operate on StfState anyhow. We could make Stf a trait instead of a struct and implement it for StfState. STF Design Enhancement Proposal #269
The text was updated successfully, but these errors were encountered:
These are some general things that stand out to me after not having seen the code for a year. Most things concern idiomatic code, but some of them would increase readability, and therefore productivity. Not everything necessarily needs to be implemented, but could be if we touch that part of the code anyhow.
Major
Minor
substratee-node-primitives
primitives
directory, i.e.primitives/node
andprimitives/worker
makeenclave/rpc.rs
a separate crate in coremakeenclave/top_pool.rs
a separate crate in coreworker/main.rs
way too big, separate it into multiple files.client/main.rs
is also way too big.UnwrapOrSgxErrorUnexpected
#413WorkerApi
should be nested within the worker. It rather belongs to the client or primitives.Cleanup the Eclave_t-/u.* files by moving them in a separate directory. (Possiblylib
.)Stf
does not make much sense to me anymore. All the methods operate onStfState
anyhow. We could makeStf
a trait instead of a struct and implement it forStfState
. STF Design Enhancement Proposal #269The text was updated successfully, but these errors were encountered: