dfinity / cdk-rs

Rust canister development kit for the Internet Computer.
Apache License 2.0
201 stars 89 forks source link

feat: cycles_burn #434

Closed lwshang closed 1 year ago

lwshang commented 1 year ago

SDK-1280

Description

Include new cycles_burn128() API method in ic0 crate. Provide a safe wrapper cycles_burn in ic_cdk::api module. candid_extractor is also updated.

How Has This Been Tested?

e2e with ic-state-machine-test

Checklist: