Closed Kailai-Wang closed 2 years ago
Currently the signer of the trusted call is always root:
TrustedCall::set_user_shielding_key(root, who, key) => { ensure!(is_root(&root), StfError::MissingPrivileges(root));
This is wrong as the extrinsic handler expects the signer to be self.stf_enclave_signer.get_enclave_account()
self.stf_enclave_signer.get_enclave_account()
Currently the signer of the trusted call is always root:
This is wrong as the extrinsic handler expects the signer to be
self.stf_enclave_signer.get_enclave_account()