-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
ic_cdk::api::data_certificate is made useless for high-load works, because, to the time a query (non-update) callback is called, the certified data set by the corresponding update call may have be already changed by another update call.
The usable workflow would be instead to deliver (save to a variable, sent out in ah HTTPS outcall, etc.) the data_certificate() return value directly in the update call that sets the data.
It would be acceptable to spread this update call to several blocks, if needed.
The real task
I tried to deliver the value of the certificate in an HTTPS outcall, to check at the sever's side, whether the request to the server is properly authorized.
Metadata
Metadata
Assignees
Labels
No labels