i am working on substrate blockchain
its era time and epoch are set too 2 minutes and when i changed unbonding duration to 4 min in blockchain it is working fine . when i have added evm base to to substrate blochchain with era time and epoch time of 2 min. and when i set unbonding time to any value rather than the default one i.e 2 min ,10 min etc .when i use my funds to nominate the validator and want to unbond funds the balance is not coming back to account and is still in locked funds . can you please help me out of it . how to change unbonding time .
Add a comment
|
1 Answer
I think it isn't related to EVM. Maybe you made some mistakes.
Decrease this value: https://github.com/paritytech/substrate/blob/911f65be7949342e12601cc3015d5c47e9339de4/bin/node/runtime/src/lib.rs#L391
And this value: https://github.com/paritytech/substrate/blob/911f65be7949342e12601cc3015d5c47e9339de4/bin/node/runtime/src/lib.rs#L567
-
i have already did this to change the unbonding time but after doing this total balacne is not coming to account after releasing funds and is still showing in locked funds Commented Jan 10, 2023 at 7:52
-
Just check the time, if it is changed. Your question is about the time. And I think maybe you want github.com/paritytech/substrate/blob/…? (to get the balance back)– aurexav ♦Commented Jan 10, 2023 at 8:38
-
yeah the balance is not coming back to account after unbonding funds and funds are in locked funds yeah want to to know why funds are still in locked ones and how to get them back Commented Jan 10, 2023 at 12:53
-
Did you check the link? Try making a
withdraw_unbonded
extrinsic.– aurexav ♦Commented Jan 11, 2023 at 2:36 -
yes i have did this also but locked funds are not getting back into account Commented Jan 30, 2023 at 12:19