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

Pantheon Validator List #55

Closed
araskachoi opened this issue May 23, 2019 · 0 comments
Closed

Pantheon Validator List #55

araskachoi opened this issue May 23, 2019 · 0 comments
Assignees

Comments

@araskachoi
Copy link
Contributor

There is an issue when specifying the number of validators for the pantheon build. There is only 1 validator in the extraData field but there should be a list of validators (as many as I specify).

Repoduce:
wb build -b pantheon -n 5 -v 2 -m 0 -c 0 -o"consensus=ibft"
Output (genesis.json):

{
    "config": {
        "chainId": 15468,
        "homesteadBlock": 0,
        "daoForkBlock": 0,
        "eip150Block": 0,
        "eip155Block": 0,
        "eip158Block": 0,
        "byzantiumBlock": 0,
        "constantinopleBlock": 0,
        "constantinopleFixBlock": 0,
        "ibft2": {"blockPeriodSeconds":2,"epoch":30000,"requesttimeoutseconds":10}
    },
    "nonce": "0x0000000000000042",
    "extraData":"0xf83ea00000000000000000000000000000000000000000000000000000000000000000d594c9ef479c453396d5055ec05ac06d3da3b6083e1a808400000000c0",
    "timestamp": "0x00",
    "gasLimit": "0x03D0900",
    "difficulty": "0x0186A0",
    "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "coinbase": "0x0000000000000000000000000000000000000000",
    "alloc":{"0x03875277de7872569be04fec840d65532cdceac0":{"balance":"1000000000000000000000000"},"0x045b21fabb87f5e430bfcb582c923bc681ff01a8":{"balance":"100000000000000000
0000000"},"0x0d023c106f4188e292db595415872e23662b6c29":{"balance":"1000000000000000000000000"},"0x0d5885535e47e5bb2d427b237ec1c69751f3fefa":{"balance":"100000000000000000000
0000"},"0x15a873b3f22e5e4bd7e8f9e91735107e0b77121a":{"balance":"1000000000000000000000000"},"0x1799435ae8872ffed7fd79d25bb61cb2d7fe9836":{"balance":"100000000000000000000000
0"},"0x1cfbcf0a6d236bbc3ce8a36ec64c21d36b2a317c":{"balance":"1000000000000000000000000"},"0x1d6b2aef0ce9acfac7628308341f26ad28b9ff91":{"balance":"1000000000000000000000000"}
,"0x213e28fb4996ff203f276532e7a4ce00f80cbe0e":{"balance":"1000000000000000000000000"},"0x24f47bd46e68f1094652c1945cf832c4100e30ea":{"balance":"1000000000000000000000000"},"0
x2dfe417d5afa6afd362911a243ca7556d8fb6e87":{"balance":"1000000000000000000000000"},"0x360ef7d6b89936ddef882b5fda753a51c37f1ec8":{"balance":"1000000000000000000000000"},"0x3c
9374f2a9adbee1211e83aaa3d23201354ff658":{"balance":"1000000000000000000000000"},"0x437649a0b5283495197367818c5c0c61c1f3e2fe":{"balance":"1000000000000000000000000"},"0x48604
9370f3dea8aa2ee45d2b042b8274d0f7427":{"balance":"1000000000000000000000000"},"0x5e982460568aac4bc954ccaa9118b35c9ab89193":{"balance":"1000000000000000000000000"},"0x646c5f62
3e85efe64d7a075a144f84c3ed70555a":{"balance":"1000000000000000000000000"},"0x65ca6b0601b9dafb276d4f53d494b8f42bc4783a":{"balance":"1000000000000000000000000"},"0x6bd5a103f7e
731af5d7b4ee3b76af2c91288a9a5":{"balance":"1000000000000000000000000"},"0x70175d54a08627cdfd7e35c8ac522719f240bf1e":{"balance":"1000000000000000000000000"},"0x714fc446b99651
49a253e7f06988bce5813fbf28":{"balance":"1000000000000000000000000"},"0x7b49a7a234e40f63ca5069a24d9641c1f89712f8":{"balance":"1000000000000000000000000"},"0x84ede2a93ce67e603
082c16dbcae769fb2eae5a3":{"balance":"1000000000000000000000000"},"0x869b7dbc5f9bb20da807415f5d5b9115161a63d1":{"balance":"1000000000000000000000000"},"0x86d4d57ad3e969d3123b
82db1621356e8fa050df":{"balance":"1000000000000000000000000"},"0x87ff68105236481b9442a96491425fb5808fd3a1":{"balance":"1000000000000000000000000"},"0x8cd734d11af586955e8ecfd
9683bc8f0a2bcc0a3":{"balance":"1000000000000000000000000"},"0x9386f9b463cff2b8f6762dc334f4e989bc042538":{"balance":"1000000000000000000000000"},"0x9856cf0c68fe26a28fcc2b1d10
0443b6c8842d0d":{"balance":"1000000000000000000000000"},"0x986c348d861a6f0f8d2b2f6b2a22c1692d59b066":{"balance":"1000000000000000000000000"},"0x98972ec8cde2184399d1a0de51e80
a3380b89d4b":{"balance":"1000000000000000000000000"},"0x99af7abc9ca77c4fe2b50692b477783d836f1a2e":{"balance":"1000000000000000000000000"},"0x9bccba16937d7c3a9fa9da74c49775921dae587f":{"balance":"1000000000000000000000000"},"0x9dfabda7ae7f85e390144eb04cf898af940c8e3c":{"balance":"1000000000000000000000000"},"0xa7fe1f6a906e3c3d57f29907ccc2c59e95e9a02a":{"balance":"1000000000000000000000000"},"0xb5384313faeaa7b9da8f8d55f6c1ff64909d1cde":{"balance":"1000000000000000000000000"},"0xb8b646c712c4f9f1510012b320f7490798124504":{"balance":"1000000000000000000000000"},"0xb906a29001f76e2411c6dbbc24a1ab230eb124e5":{"balance":"1000000000000000000000000"},"0xbab4787e20b0dae38130ed11067387a1de29327e":{"balance":"1000000000000000000000000"},"0xbbb054f6c00f5eaeee8ac8ad4ea2736ab11ae028":{"balance":"1000000000000000000000000"},"0xbc4eb3d8f502c598f21b1ace8bf0850d0baa61a7":{"balance":"1000000000000000000000000"},"0xbd3ac5ba94799cee3c3fae27b82ced3ce399ebe1":{"balance":"1000000000000000000000000"},"0xc0c6cddc354d90efadc5fde51456e2a6670ea279":{"balance":"1000000000000000000000000"},"0xc41c72679eabb4eea58f08580901f2399b26b81e":{"balance":"1000000000000000000000000"},"0xc74ae7ffa5dcfa246898b935a7ced6dc40b7eed9":{"balance":"1000000000000000000000000"},"0xc94e471ea22e29ccbafc05216efe48d6fa4537a4":{"balance":"1000000000000000000000000"},"0xc9ef479c453396d5055ec05ac06d3da3b6083e1a":{"balance":"1000000000000000000000000"},"0xcd398dab8ad110831c6984ad15bf30a865c0fb2d":{"balance":"1000000000000000000000000"},"0xcf160801f2e7504c326b3953d5356fae17659798":{"balance":"1000000000000000000000000"},"0xd7f0df2557613fcea2f351ead9ad67d576b4021f":{"balance":"1000000000000000000000000"},"0xd9783aaa0923b5d2aa2c45d69ae4da4944baadd4":{"balance":"1000000000000000000000000"},"0xe057544bdf17dd2f43a4abcf8d629c32b61fa80e":{"balance":"1000000000000000000000000"},"0xe3f3c1ad97a6ff6109cdd82dde9ca64d52ebfe3a":{"balance":"1000000000000000000000000"},"0xe7cf17e0409a17ec3fca427757cd7be09f23a1ba":{"balance":"1000000000000000000000000"},"0xf138b0f5048c4d98256e0d8a5632beee971519cb":{"balance":"1000000000000000000000000"}},
    "number": "0x0",
    "gasUsed": "0x0",
    "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
}

Fix:
Add a list of addresses (the number specified by the user) to the extraData field in mustache.

n8wb added a commit that referenced this issue May 29, 2019
@n8wb n8wb closed this as completed May 29, 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