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

Node is unable to sync #5270

Closed
Inderdeep01 opened this issue Mar 26, 2023 · 7 comments · Fixed by #5276
Closed

Node is unable to sync #5270

Inderdeep01 opened this issue Mar 26, 2023 · 7 comments · Fixed by #5276
Assignees
Labels
bug Something isn't working non mainnet (private networks) not related to mainnet features - covers privacy, permissioning, IBFT2, QBFT TeamGroot GH issues worked on by Groot Team

Comments

@Inderdeep01
Copy link

Description

I was following the official Hyperledger guide to set up a private network using IBFT 2.0. I want my network to have zero gas fee. I am facing this issue(attached screenshot). Can you please figure this out?
Screenshot 2023-03-26 at 5 34 26 PM

Expected behavior: Nodes should be able to sync and produce blocks

Actual behavior: Unable to find sync target.

Frequency: Every time

Versions (Add all that apply)

  • Software version: besu/v23.1.2/linux-x86_64/openjdk-java-17

  • Java version: openjdk version "17.0.6" 2023-01-17
    OpenJDK Runtime Environment (build 17.0.6+10-Debian-1deb11u1)
    OpenJDK 64-Bit Server VM (build 17.0.6+10-Debian-1deb11u1, mixed mode, sharing)

  • OS Name & Version:
    PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
    NAME="Debian GNU/Linux"
    VERSION_ID="11"
    VERSION="11 (bullseye)"
    VERSION_CODENAME=bullseye
    ID=debian

  • Kernel Version: Linux instance-1 5.10.0-21-cloud-amd64 Update Jenkins Build for Pantheon → Besu considerations #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux

  • Cloud VM, type, size: Google Cloud Provider t2d-standard-1

Additional Information (Add any of the following or anything else that may be relevant)

  • Besu setup info - genesis file, config options
    {
    "genesis": {
    "config": {
    "chainId": 1337,
    "londonBlock": 0,
    "zeroBaseFee":true,
    "ibft2": {
    "blockperiodseconds": 2,
    "epochlength": 30000,
    "requesttimeoutseconds": 4
    }
    },
    "nonce": "0x0",
    "timestamp": "0x58ee40ba",
    "gasLimit": "0x47b760",
    "difficulty": "0x1",
    "mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365",
    "coinbase": "0x0000000000000000000000000000000000000000",
    "alloc": {
    "fe3b557e8fb62b89f4916b721be55ceb828dbd73": {
    "privateKey": "8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63",
    "comment": "private key and this comment are ignored. In a real chain, the private key should NOT be stored",
    "balance": "0xad78ebc5ac6200000"
    },
    "627306090abaB3A6e1400e9345bC60c78a8BEf57": {
    "privateKey": "c87509a1c067bbde78beb793e6fa76530b6382a4c0241e5e4a9ec0a0f44dc0d3",
    "comment": "private key and this comment are ignored. In a real chain, the private key should NOT be stored",
    "balance": "90000000000000000000000"
    },
    "f17f52151EbEF6C7334FAD080c5704D77216b732": {
    "privateKey": "ae6ae8e5ccbfb04590405997ee2d52d2b330726137b875053c36d94e974d162f",
    "comment": "private key and this comment are ignored. In a real chain, the private key should NOT be stored",
    "balance": "90000000000000000000000"
    }
    }
    },
    "blockchain": {
    "nodes": {
    "generate": true,
    "count": 4
    }
    }
    }
  • Documentation I followed:
    1. https://besu.hyperledger.org/en/stable/private-networks/tutorials/ibft/
    2. https://besu.hyperledger.org/en/stable/private-networks/how-to/configure/free-gas/#3-start-besu-with-a-minimum-gas-price-of-zero
@Inderdeep01
Copy link
Author

Can anybody help?

@Inderdeep01
Copy link
Author

Steps to recreate:

  • Follow the official set up guide and just replace the ibftConfigFile.json with my config

@Inderdeep01
Copy link
Author

@macfarla

@jframe jframe added the TeamGroot GH issues worked on by Groot Team label Mar 27, 2023
@gfukushima gfukushima added the non mainnet (private networks) not related to mainnet features - covers privacy, permissioning, IBFT2, QBFT label Mar 27, 2023
@jframe jframe self-assigned this Mar 28, 2023
@jframe jframe added the bug Something isn't working label Mar 28, 2023
@jframe
Copy link
Contributor

jframe commented Mar 28, 2023

@Inderdeep01 I've been able to recreate the issue locally. Looks like there is a bug here. Will work on a fix for this

@Inderdeep01
Copy link
Author

@jframe ok 👍

@jframe
Copy link
Contributor

jframe commented Mar 30, 2023

I've merged a change that fixes this issue into main. You can test it out by using the develop build of Besu. Or wait for the next release of Besu.

@Inderdeep01
Copy link
Author

I've tested it. It works. Thank you very much :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non mainnet (private networks) not related to mainnet features - covers privacy, permissioning, IBFT2, QBFT TeamGroot GH issues worked on by Groot Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants