dfinity / interface-spec

IC Interface Specification
https://khsfq-wqaaa-aaaak-qckvq-cai.icp0.io/docs
37 stars 20 forks source link

fix: ic0.call_new and ic0.call_on_cleanup do not validate callback #318

Closed mraszyk closed 5 months ago

mraszyk commented 5 months ago

This PR fixes the specification of ic0.call_new and ic0.call_on_cleanup that do not validate the provided callback (in particular, since the canister can be upgraded before the callback is executed and thus the callback validation must be performed just before the callback is executed).