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

创世配置有错误 #15

Open
liuqinglqlq opened this issue Jun 7, 2022 · 0 comments
Open

创世配置有错误 #15

liuqinglqlq opened this issue Jun 7, 2022 · 0 comments

Comments

@liuqinglqlq
Copy link

liuqinglqlq commented Jun 7, 2022

现在创世配置和以前不一样了
必须加上 eip150Block
不然初始化时会报错
"Fatal: Failed to write genesis block: unsupported fork ordering: eip150Block not enabled, but eip155Block enabled at 0"

修正后的配置是这样
{
"config": {
"chainId": 987,
"homesteadBlock": 0,
"eip150Block": 0,
"eip155Block": 0,
"eip158Block": 0
},
"difficulty": "0x400",
"gasLimit": "0x8000000",
"alloc": {}
}

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

1 participant