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
Imagine a user calls create_identity without setting up the shielding key, F/E will get the error "InvallidUserShieldingKey", but the identities are already created in the sidechain
This is because we execute the pallet logic first and don't check the shielding key until we want to send back the result later:
Context
Imagine a user calls
create_identity
without setting up the shielding key, F/E will get the error "InvallidUserShieldingKey", but the identities are already created in the sidechainThis is because we execute the pallet logic first and don't check the shielding key until we want to send back the result later:
litentry-parachain/tee-worker/app-libs/stf/src/trusted_call.rs
Lines 488 to 498 in a6b7e2e
This is obviously incorrect. We should move the shielding key check either into the pallet or before the pallet call. I prefer the former solution.
related:
✔️ Please set appropriate labels and assignees if applicable.
The text was updated successfully, but these errors were encountered: