Open
Description
Problem Description
description:
If a validator unstake itself, all degegator of this validator will be unstaked, but afterUNBOND_BLOCK_CNT
the rewards, except validator self, will not pay to the address of delegators.
Screenshots:
Environmental information
operating system: Ubuntu 18.04 (WSL)
service:
http://localhost/
Code version:
branch-main
version=0.2.11
Steps to reproduce
- hard-code
UNBOND_BLOCK_CNT=16
, andmake debug_env
stt init
- setup a wallet :
fn setup -O node.mnemonic && fn setup -K /tmp/findora/devnet/node0/config/priv_validator_key.json
- delegate to validator node0 and wait some blocks:
fn delegate -n 1000000000000 --validator=611C922247C3BE7EA13455B191B6EFD909F10196
- setup to node0:
fn setup -O node0.mnemonic
fn unstake
- go back to wallet in
1.
:fn setup -O node.mnemonic
- watch the status after about 18 blocks:
fn show
, bond=0, unbond=0, reward != 0.