EOSIO / eosio.system

Reference system contract for an EOSIO based chain
MIT License
9 stars 6 forks source link

Error message in producer_pay is incorrect #36

Open netuoso opened 5 years ago

netuoso commented 5 years ago

Description

After setting up an EOSIO testnet (deploying the eosio.system and eosio.token contract, issuing tokens, and voting) the user can run into issues getting the chain initialized due to initial supply and an incorrect error message.

Issue

eosio.system contract expects 150M tokens to be staked before the chain is considered active. However, the error message says only 15% of the total supply need to be staked.

Steps to Reproduce

What Happens

What Should Happen

Severity

Low severity here, but it will help users setting up a testnet to have more accurate error messages. An alternative fix would be for the eosio.system contact to detect the primary token liquid supply versus staked supply and set the min_activated_stake to a related value.

deckb commented 3 years ago

Moving this to the new reference system contract repo. Will evaluate here if it is still an issue.