Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move genesis config values to genesis-info.json #633

Closed
zxcat opened this issue May 8, 2019 · 1 comment
Closed

Move genesis config values to genesis-info.json #633

zxcat opened this issue May 8, 2019 · 1 comment
Assignees
Milestone

Comments

@zxcat
Copy link

zxcat commented May 8, 2019

The following create-genesis constants should be configurable from genesis-info.json:

static constexpr uint64_t gls_issuer_account_name = N(gls.issuer);
static constexpr uint64_t gls_ctrl_account_name = N(gls.ctrl);
static constexpr uint64_t gls_vest_account_name = N(gls.vesting);
static constexpr uint64_t gls_post_account_name = N(gls.publish);
static constexpr uint64_t gls_social_account_name = N(gls.social);
static constexpr uint64_t gls_charge_account_name = N(gls.charge);
constexpr auto notify_account_name = gls_ctrl_account_name;

constexpr auto golos_domain_name = "golos";

constexpr int64_t system_max_supply = 1'000'000'000ll * 10000;
constexpr int64_t golos_max_supply = 1'000'000'000ll * 1000;
@zxcat zxcat self-assigned this May 8, 2019
@zxcat zxcat added this to the Sprint-apr-22 milestone May 10, 2019
zxcat added a commit that referenced this issue May 15, 2019
…650

+ Most config parameters moved to `genesis_info.golos`
+ Accounts defined in genesis-info now support custom permissions
+ `auth_links` added to describe contracts/actions linked to permissions of account
+ `tables` added to insert custom tables rows in genesis
+ some logging improvements
@zxcat
Copy link
Author

zxcat commented May 15, 2019

PR #654

zxcat added a commit that referenced this issue May 15, 2019
Add permissions, auth links, tables, config to genesis-info #633,#647,#650
@zxcat zxcat closed this as completed May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants