Coder Social home page Coder Social logo

Comments (5)

XeZZoR avatar XeZZoR commented on July 18, 2024 1

Ah I got it sorry I misread your comment above. That is very possible and would be inline with the log message too.

from casper-node.

XeZZoR avatar XeZZoR commented on July 18, 2024

Attaching source Setup. To reproduce:

Change the trusted hash in config/config.toml

docker volume create clkeys
./rebuild.sh
docker logs -f capser

This should build the container and show logs. The image build takes quite a while and if the era switches in between the trusted hash is invalid to catchup. In that case just exchange the hash and run ./rebuild.sh again it nukes the state completely despite the generated keys.
casperdocker.zip

from casper-node.

afck avatar afck commented on July 18, 2024

My theory is that some node in the network was reusing a storage directory from a previous network. That's the only way I could reproduce something akin to this issue. #508 (merged into the master branch) should address this: If a peer sends us a block with the wrong parent, we retry with another peer.
(That also means that if we are the ones joining the network with outdated storage, the node would give up after a while: Consensus shutting down due to inability to participate in the network.)

from casper-node.

XeZZoR avatar XeZZoR commented on July 18, 2024

I am very confident this is not the case since I ran it on a complete new server and was able to reproduce it.

from casper-node.

afck avatar afck commented on July 18, 2024

Yes, but another node in the network could have used an oudated storage directory, and sent an invalid block to your node?

from casper-node.

Related Issues (20)

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.