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

coinbase & accounts 0 are diiferent when trying to setup istanbul network #259

Closed
abhayar opened this issue Jan 20, 2018 · 11 comments
Closed

Comments

@abhayar
Copy link

abhayar commented Jan 20, 2018

System information

Geth version: geth version

OS & Version: Windows/Linux/OSX

Branch, Commit Hash or Release: git status

Expected behaviour

Actual behaviour

Steps to reproduce the behaviour

Backtrace

[backtrace]
@abhayar
Copy link
Author

abhayar commented Jan 21, 2018

I'm using istanbul tools only for extradata creation, but problem i'm facing problem with accounts..coinbase & account0 both are different.This is my genesis file:

{
"config": {
"chainId": 1234,
"homesteadBlock": 1,
"eip150Block": 2,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 3,
"eip158Block": 3,
"istanbul": {
"epoch": 30000,
"policy": 0
},
"isQuorum": true
},
"alloc": {},
"nonce": "0x0",
"timestamp": "0x5982d805",
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000f86fea941cd6d479eda90f876366c32a7932eaf7116aa39394294fc7e8f22b3bcdcf955dd7ff3ba2ed833f8212b8410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0",
"gasLimit": "0x47b760",
"difficulty": "0x1",
"mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365",
"number": "0x0",
"gasUsed": "0x0",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
}

when i remove "istanbul": {"epoch": 30000,"policy": 0 } from genesis file , coinbase & accounts0 both are same, but it is no more istanbul protocol

@patrickmn
Copy link
Contributor

@yutelin @markya0616 thoughts?

@yutelin
Copy link

yutelin commented Feb 7, 2018

@abhayar coinbase address has been repurposed for validator voting. Please refer to EIP 650 Block header section.

  • beneficiary: Address to propose modifying the list of validator with.
    • Should be filled with zeroes normally, modified only while voting.
    • Arbitrary values are permitted nonetheless (even meaningless ones such as voting out non validators) to avoid extra complexity in voting mechanics implementation.

@patrickmn patrickmn added question and removed bug labels Feb 7, 2018
@abhayar
Copy link
Author

abhayar commented Feb 11, 2018

ERROR[02-11|06:28:21] Failed to decode message from payload address=0x2D7fa275D93006d80B07f03Cd678E84eA2CB57A5 err="unauthorized address"...getting this error, this is coinbase address

@ijazm
Copy link

ijazm commented Mar 6, 2018

@abhayar Have you solved the issue
ERROR[02-11|06:28:21] Failed to decode message from payload address=0x2D7fa275D93006d80B07f03Cd678E84eA2CB57A5 err="unauthorized address"...getting this error, this is coinbase address

@abhayar
Copy link
Author

abhayar commented Mar 7, 2018

No, not yet..any solution on this...?
So to create extradata, we are using istanbul-tools, so because of this, tools itself create coinbase account & I'm also creating new account..Is this so..?

@ijazm
Copy link

ijazm commented Mar 7, 2018

@abhayar yes, exactly that is the problem. What I did to overcome this problem is I created the nodekey and genesis file using the istanbul tool. I used that nodekey on all the nodes i have and finally my manual setup was successful and I am able to deploy contracts

@Krish1979
Copy link
Collaborator

➤ Patrick Mylund Nielsen commented:

yutelin markya0616 thoughts?

@abhayar
Copy link
Author

abhayar commented May 22, 2019

@Krish1979 facing same account issue..?

@AUQIB92
Copy link

AUQIB92 commented Jul 17, 2019

@abhayar yes, exactly that is the problem. What I did to overcome this problem is I created the nodekey and genesis file using the istanbul tool. I used that nodekey on all the nodes i have and finally my manual setup was successful and I am able to deploy contracts

please provide some more information on this i m facing same error

@abhayar
Copy link
Author

abhayar commented Jul 18, 2019

@AUQIB92 Hi , Yeah I solved the problem in similar way before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants