eos icon indicating copy to clipboard operation
eos copied to clipboard

Undelegatebw on local development node.

Open StarryJapanNight opened this issue 8 years ago • 4 comments

I am unable to undelegatebw on my development node due to 15% of voters not voting. Is this there a simple workaround for this?

StarryJapanNight avatar Aug 05 '18 11:08 StarryJapanNight

I have tried setting a regproducer and then voting 20% of all issued tokens, but still receive this error when trying to undelegatebw.

StarryJapanNight avatar Aug 06 '18 01:08 StarryJapanNight

Can you place your exact what happened on your node?

taokayan avatar Aug 06 '18 02:08 taokayan

In the end I modified producer_pay.cpp line 8 to zero! Recompiled the system contract. Problem solved

StarryJapanNight avatar Aug 06 '18 02:08 StarryJapanNight

For future reference, the not-editing-the-source-code solution is to issue enough tokens such that voting 15% exceeds the 150 million token limit on line 8. To emulate mainnet, testnets should create and issue 1 billion tokens.

jgiszczak avatar Aug 06 '18 20:08 jgiszczak