ATADA
31 May 2020 18:16
1
Hi,
tried to de-register a stakepool like the same way registering it, but i always get the following error:
ApplyTxError [LedgerFailure (DelegsFailure (DelplFailure (PoolFailure (StakePoolRetirementWrongEpochPOOL {pfPOOLcurrentEpoch = 27, pfPOOLintendedEpoch = 28, pfPOOLepochMax = 28}))))]
i tried it with current epoch 27, also with the next epochs 28, 29, 30
sooo… is the code not right ready for it?
best regards,
martin
ATADA
2 June 2020 11:22
2
It is working now, the pfPOOLepochMax was too low. Thanks @disasm !
ATADA
6 June 2020 10:53
3
So, did a new test on 1.13.0:
I can confirm, that Pool Retirement is working perfectly!
Stake-Info of the PoolOwner (also Rewards) before Pool Retirement:
Delegations: fromList [(KeyHashObj (KeyHash 40b799908a211d514d71845cecc48c1de71912d64853ac1c82bf044ea7d4d3f0),KeyHash cdb27adb2fc21b979a589e866e171e8934860b6bdc29aa7f07df9ad3d2126e81)]
Reward accounts: fromList [(RewardAcnt {getRwdNetwork = Testnet, getRwdCred = KeyHashObj (KeyHash 40b799908a211d514d71845cecc48c1de71912d64853ac1c82bf044ea7d4d3f0)},Coin 0)]
Stake-Info of the PoolOwner (also Rewards) after Pool Retirement:
Delegations: fromList []
Reward accounts: fromList [(RewardAcnt {getRwdNetwork = Testnet, getRwdCred = KeyHashObj (KeyHash 40b799908a211d514d71845cecc48c1de71912d64853ac1c82bf044ea7d4d3f0)},Coin 500000000)]
PoolDepositFee of 500 fADA was sent back to the Rewards Account
Can we please have a json output format for this? Or a —output-format json option in the commandline?
ATADA
6 June 2020 10:55
4
A follow up test to my last Pool-Retirement Test:
I was able to Register the Pool again on the blockchain with the old values, now the owner.payment account shows:
Delegations: fromList [(KeyHashObj (KeyHash 40b799908a211d514d71845cecc48c1de71912d64853ac1c82bf044ea7d4d3f0),KeyHash cdb27adb2fc21b979a589e866e171e8934860b6bdc29aa7f07df9ad3d2126e81)]
Reward accounts: fromList [(RewardAcnt {getRwdNetwork = Testnet, getRwdCred = KeyHashObj (KeyHash 40b799908a211d514d71845cecc48c1de71912d64853ac1c82bf044ea7d4d3f0)},Coin 500000000)]
Shouldn’t this be impossible? I thought to register the same Pool again on the Chain requires to have the RewardsAccount completely paid out (0 coin) before?
ATADA
7 June 2020 14:10
5
Looks like this is normal behavior, so, no issue.
1 Like
I guess, when you retire a pool you can just destroy the cold keys if you don’t want anyone to open it back up…
razzi
20 June 2021 17:57
7
how did you withdraw your ADA from the stake addr? ( rewards account )?
ATADA
20 June 2021 19:35
8
this is a one year old follow up post, what exactly do you mean? withdraw rewards as an SPO?
razzi
21 June 2021 21:29
9
yes, the reward account has the 500 ADA after I retire my POOL. How do I get them back into my wallet?
Do I need to send the transaction to BP?
what about you get this message when you are trying to retire your pool
Command failed: transaction submit Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraMary (ApplyTxError [DelegsFailure (DelplFailure (PoolFailure (StakePoolNotRegisteredOnKeyPOOL (KeyHash “*****************************”))))])
ATADA
18 July 2021 09:34
11
just claim your rewards as you always do. you can use a simple passive node for that, or your synced bp or a relay node. doesn’t matter.