Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

[FINAL] feat: specify ic0.canister_liquid_cycle_balance128 #347

Closed
wants to merge 1 commit into from

Conversation

mraszyk
Copy link
Contributor

@mraszyk mraszyk commented Oct 17, 2024

This PR specifies a new system API ic0.canister_liquid_cycle_balance128 returning the current amount of cycles that is available for spending in calls and execution. This way, canisters can bound the amount of cycles attached to a call to prevent spurious traps when calling ic0.call_cycles_add or ic0.call_cycles_add128.

@mraszyk mraszyk requested a review from a team as a code owner October 17, 2024 10:27
Copy link

github-actions bot commented Oct 17, 2024

🤖 Here's your preview: https://o3spr-ryaaa-aaaak-qcnrq-cai.icp0.io/docs

@Dfinity-Bjoern
Copy link
Member

Looks good, let's make it final!

@Dfinity-Bjoern Dfinity-Bjoern changed the title feat: specify ic0.canister_liquid_cycle_balance128 [FINAL] feat: specify ic0.canister_liquid_cycle_balance128 Oct 31, 2024
@mraszyk
Copy link
Contributor Author

mraszyk commented Nov 15, 2024

Superseded by dfinity/portal#3756

@mraszyk mraszyk closed this Nov 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants