Giter Club home page Giter Club logo

agora-cl's People

Contributors

0xkiwi avatar ahadda5 avatar bidlocode avatar dv8silencer avatar enriquefynn avatar farazdagi avatar hewison-chris avatar houjieth avatar int88 avatar james-prysm avatar jmozah avatar kasey avatar leolara avatar mcdee avatar michaelkim20 avatar michaelneuder avatar nalepae avatar nisdas avatar patricevignola avatar pinglamb avatar potuz avatar prestonvanloon avatar rauljordan avatar renovate[bot] avatar rkapka avatar roveneliah avatar saolyn avatar shayzluf avatar skillful-alex avatar terencechain avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

agora-cl's Issues

cl-node testnet ERROR blockchain: Could not compute head from new attestations

Hi, im trying to start a el-node and cl-node on Testnet with the latest ubuntu server.
i followed the steps in "For Linux or MacOS users" https://github.com/bosagora/agora-chain/blob/v0.x.x/README-en.md#upgrade-for-linux-or-macos

I would advise to add instructions to run the containers in the background, like "docker compose -f /bosagora/agora-chain/networks/testnet/docker-compose.yml up -d"
Running from a bash script wont autostart.

  1. What happens if nodes dont upgrade? Will the nodes still produce conformations/rewards?

  2. Warning when starting the docker-compose.yml file:
    WARNING: The P2P_HOST_IP variable is not set. Defaulting to a blank string.
    wich is from this line: --p2p-host-ip=${P2P_HOST_IP}

  3. The nodes start giving errors after syncing, so i cant test the cli-tool for now. Ports 30303, 30303, 13000,12000 are open. P2P_host_IP is manually added to the yml file.
    Looks like this error: prysmaticlabs/prysm#12583
    Please advise.

log of "./agora.sh cl-node run"
[2023-07-07 12:19:01] INFO initial-sync: Processing block batch of size 63 starting from 0xbf1de118... 1846944/1850794 - estimated time remaining 6m47s blocksPerSecond=9.4 peers=14
[2023-07-07 12:19:01] WARN initial-sync: Skip processing batched blocks error=beacon node doesn't have a parent in db with root: 0x1024a46850551d446544b1af97675d22d7fbebfc6500492f928f5c62e48b7bc6 (in processBatchedBlocks, slot=1846944)
[2023-07-07 12:19:01] INFO initial-sync: Processing block batch of size 62 starting from 0xd719ad55... 1847008/1850794 - estimated time remaining 5m1s blocksPerSecond=12.6 peers=14
[2023-07-07 12:19:01] WARN initial-sync: Skip processing batched blocks error=beacon node doesn't have a parent in db with root: 0xef9205050a788f38e1ceb9118d6b5784823e4dce9c5a38ffdfe8b3063bdff8b3 (in processBatchedBlocks, slot=1847008)
[2023-07-07 12:19:01] INFO initial-sync: Processing block batch of size 63 starting from 0x48721bb3... 1847072/1850794 - estimated time remaining 3m57s blocksPerSecond=15.7 peers=14
[2023-07-07 12:19:01] WARN initial-sync: Skip processing batched blocks error=beacon node doesn't have a parent in db with root: 0x3677680fd336bfee2ae34639d327479357e862dac36f8c823f39bc95bc80d0a6 (in processBatchedBlocks, slot=1847072)
[2023-07-07 12:19:01] INFO initial-sync: Processing block batch of size 64 starting from 0x52e22f98... 1847136/1850794 - estimated time remaining 3m13s blocksPerSecond=18.9 peers=14
[2023-07-07 12:19:01] WARN initial-sync: Skip processing batched blocks error=beacon node doesn't have a parent in db with root: 0x937d7934e488a8615b12daf6126f985d7493b22b40e296af542c0002186ffa02 (in processBatchedBlocks, slot=1847136)
[2023-07-07 12:19:01] INFO initial-sync: Processing block batch of size 63 starting from 0xe786e5f3... 1847200/1850794 - estimated time remaining 2m42s blocksPerSecond=22.1 peers=14
[2023-07-07 12:19:01] WARN initial-sync: Skip processing batched blocks error=beacon node doesn't have a parent in db with root: 0xa7e71e3214e2d7b7b70bdfc5cedf2f1d6e1b42d9884b5517f6a1732c50589c5e (in processBatchedBlocks, slot=1847200)
[2023-07-07 12:19:01] INFO initial-sync: Processing block batch of size 64 starting from 0x59f049cd... 1847264/1850794 - estimated time remaining 2m19s blocksPerSecond=25.2 peers=14
[2023-07-07 12:19:01] WARN initial-sync: Skip processing batched blocks error=beacon node doesn't have a parent in db with root: 0xad640736cfa685cd65c639aa051f648fbf6ed861da3977d144e51defd50bda7b (in processBatchedBlocks, slot=1847264)
[2023-07-07 12:19:04] INFO initial-sync: Processing block batch of size 63 starting from 0x285e29f5... 1846816/1850794 - estimated time remaining 2m20s blocksPerSecond=28.4 peers=14
[2023-07-07 12:19:06] WARN initial-sync: Skip processing batched blocks error=could not process block in batch: could not validate state root, wanted: 0x08aabd3b4db3441dd9a24c427a2dc5094d4eb9b208a327e0f580c1b92c75eab1, received: 0xd6e06d6d13b03f9d4d5bd746dc217051e9d9adfc0f3ce662473e2f95d89be119
[2023-07-07 12:19:09] ERROR blockchain: Could not compute head from new attestations error=0x285e29f50ec9689e5e0f5c9b03225f8d8e9bc3488bf51023507daa93bf7b1a08: unknown justified root
[2023-07-07 12:19:11] ERROR blockchain: Could not compute head from new attestations error=0x285e29f50ec9689e5e0f5c9b03225f8d8e9bc3488bf51023507daa93bf7b1a08: unknown justified root
[2023-07-07 12:19:21] ERROR blockchain: Could not compute head from new attestations error=0x285e29f50ec9689e5e0f5c9b03225f8d8e9bc3488bf51023507daa93bf7b1a08: unknown justified root
[2023-07-07 12:19:23] ERROR blockchain: Could not compute head from new attestations error=0x285e29f50ec9689e5e0f5c9b03225f8d8e9bc3488bf51023507daa93bf7b1a08: unknown justified root
[2023-07-07 12:19:33] ERROR blockchain: Could not compute head from new attestations error=0x285e29f50ec9689e5e0f5c9b03225f8d8e9bc3488bf51023507daa93bf7b1a08: unknown justified root
[2023-07-07 12:19:33] INFO initial-sync: Processing block batch of size 63 starting from 0x285e29f5... 1846816/1850796 - estimated time remaining 21m3s blocksPerSecond=3.1 peers=14
[2023-07-07 12:19:35] WARN initial-sync: Skip processing batched blocks error=could not process block in batch: could not validate state root, wanted: 0x08aabd3b4db3441dd9a24c427a2dc5094d4eb9b208a327e0f580c1b92c75eab1, received: 0xd6e06d6d13b03f9d4d5bd746dc217051e9d9adfc0f3ce662473e2f95d89be119
[2023-07-07 12:19:35] ERROR blockchain: Could not compute head from new attestations error=0x285e29f50ec9689e5e0f5c9b03225f8d8e9bc3488bf51023507daa93bf7b1a08: unknown justified root
[2023-07-07 12:19:43] INFO p2p: Peer summary activePeers=14 inbound=2 outbound=12
[2023-07-07 12:19:45] ERROR blockchain: Could not compute head from new attestations error=0x285e29f50ec9689e5e0f5c9b03225f8d8e9bc3488bf51023507daa93bf7b1a08: unknown justified root
[2023-07-07 12:19:47] ERROR blockchain: Could not compute head from new attestations error=0x285e29f50ec9689e5e0f5c9b03225f8d8e9bc3488bf51023507daa93bf7b1a08: unknown justified root
[2023-07-07 12:19:57] ERROR blockchain: Could not compute head from new attestations error=0x285e29f50ec9689e5e0f5c9b03225f8d8e9bc3488bf51023507daa93bf7b1a08: unknown justified root
[2023-07-07 12:19:59] ERROR blockchain: Could not compute head from new attestations error=0x285e29f50ec9689e5e0f5c9b03225f8d8e9bc3488bf51023507daa93bf7b1a08: unknown justified root

log of "./agora.sh el-node run"
WARN [07-07|12:20:45.430] Ignoring already known beacon payload number=1,957,742 hash=9b0239..542a35 age=13h17m46s
WARN [07-07|12:20:45.431] Ignoring already known beacon payload number=1,957,743 hash=7823ae..f3a29f age=13h17m34s
WARN [07-07|12:20:56.511] Snapshot extension registration failed peer=e94e8999 err="peer connected on snap without compatible eth support"
WARN [07-07|12:21:03.087] Snapshot extension registration failed peer=2a782395 err="peer connected on snap without compatible eth support"

Cannot use Altair (or Bellatrix) Block as Genesis

Providing ALTAIR_FORK_EPOCH: 0 in chain config results in following error

level=error msg="Failed to request block from beacon node" blockSlot=17 error="rpc error: code = Internal desc = Could not fetch Altair beacon block: could not compute state root: could not calculate state root at slot 0: could not process block: process_sync_aggregate failed: CurrentSyncCommittee is not supported for phase 0 beacon state" prefix=validator

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.