Skip to content

Conversation

@aesedepece
Copy link
Member

Allow unstaking all the available stake at once, at a protocol level, by using a special constant that signals this intent.

@aesedepece aesedepece force-pushed the master branch 2 times, most recently from 1679d32 to 1b59db0 Compare February 13, 2025 13:22
Namely, apply a protocol-level "rule of convenience", where an
amount to unstake of u64::MAX actually means "unstake all my stake"
Originally by @guidiaz in b4a73d6
with edits from @drcpu-github

# Conflicts:
#	node/src/actors/chain_manager/mod.rs
@aesedepece aesedepece force-pushed the feat/unstake-all-at-once branch from 3a60dcc to c3e9e93 Compare September 16, 2025 15:59
@aesedepece aesedepece merged commit c3e9e93 into witnet:master Sep 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant