litentry / tee-worker

Based on the integritee-network/worker framework
Apache License 2.0
4 stars 2 forks source link

Rename fn for better readability and clearness #111

Closed Kailai-Wang closed 2 years ago

Kailai-Wang commented 2 years ago

Mainly to differentiate between stf-tasks and runtime state changes

Suggestion:

TrustedCall::link_identity -> TrustedCall::link_identity_runtime
TrustedCall::unlink_identity -> TrustedCall::unlink_identity_runtime
TrustedCall::verify_identity_step1 -> TrustedCall::verify_identity_preflight
TrustedCall::verify_identity_step2 -> TrustedCall::verify_identity_runtime
TrustedCall::query_credit -> remove it (please remove the extrinsic in parachain tee-dev branch too)