Git Product home page Git Product logo

Comments (7)

nflaig avatar nflaig commented on August 16, 2024

Thanks for all the detailed issues, this is great! This specific issue should be fixed by #6576 already (not yet released).

I am not exactly sure which commit hash you are running, it looks like docker hub does not provide a way to query the digest of an older version of a tag. I am also not able to pull it via digest anymore.

The commit hash can be printed out by running

docker run --rm <lodestar_image> --help

from lodestar.

barnabasbusa avatar barnabasbusa commented on August 16, 2024
docker run --rm -it chainsafe/lodestar:next --help
🌟 Lodestar: TypeScript Implementation of the Ethereum Consensus Beacon Chain.

 * Version: v1.17.0/898cd90
  * by ChainSafe Systems, 2018-2024

from lodestar.

nflaig avatar nflaig commented on August 16, 2024
docker run --rm -it chainsafe/lodestar:next --help
🌟 Lodestar: TypeScript Implementation of the Ethereum Consensus Beacon Chain.

 * Version: v1.17.0/898cd90
  * by ChainSafe Systems, 2018-2024

The digest of this image is sha256:8d1ead7f7e0fbabb0431f4fb751c76128be0542701e89ab7b0b3719f82ac101f (see docker hub) which is different from what was referenced in the issue.

from lodestar.

barnabasbusa avatar barnabasbusa commented on August 16, 2024

I must have had an older image locally stored for next. My bad! Nevertheless the issue persists, its just another error.

Apr-05 13:41:53.163[]                error: Error proposing block slot=6, validator=0x889f…366b - JSON expected key slot is undefined - Failed to produce block
Error: JSON expected key slot is undefined - Failed to produce block
    at ContainerType.fromJson (/usr/app/node_modules/@chainsafe/ssz/src/type/container.ts:347:15)
    at Object.fromJson (file:///usr/app/packages/api/src/utils/types.ts:156:44)
    at Object.fromJson (file:///usr/app/packages/api/src/utils/types.ts:198:15)
    at Object.fromJson (file:///usr/app/packages/api/src/beacon/routes/validator.ts:778:91)
    at Object.request [as produceBlockV3] (file:///usr/app/packages/api/src/utils/client/client.ts:91:50)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at BlockProposingService.produceBlockWrapper (file:///usr/app/packages/validator/src/services/block.ts:205:17)
    at BlockProposingService.createAndPublishBlock (file:///usr/app/packages/validator/src/services/block.ts:144:29)
    at async Promise.all (index 0)

from lodestar.

nflaig avatar nflaig commented on August 16, 2024

I must have had an older image locally stored for next

Based on the Nimbus log from #6634

agent_version=Lodestar/v1.17.0/def26ac node=http://172.16.0.28:8562[Lodestar/v1.17.0/def26ac] node_index=0 node_roles=AGBSDT

The commit the referenced image is build from is def26ac which did not include the skip_randao_verification fix yet, so this seems to be resolved at least.

its just another error.

That's a strange one, needs further investigation

from lodestar.

nflaig avatar nflaig commented on August 16, 2024

I must have had an older image locally stored for next. My bad! Nevertheless the issue persists, its just another error.

Apr-05 13:41:53.163[]                error: Error proposing block slot=6, validator=0x889f…366b - JSON expected key slot is undefined - Failed to produce block
Error: JSON expected key slot is undefined - Failed to produce block
    at ContainerType.fromJson (/usr/app/node_modules/@chainsafe/ssz/src/type/container.ts:347:15)
    at Object.fromJson (file:///usr/app/packages/api/src/utils/types.ts:156:44)
    at Object.fromJson (file:///usr/app/packages/api/src/utils/types.ts:198:15)
    at Object.fromJson (file:///usr/app/packages/api/src/beacon/routes/validator.ts:778:91)
    at Object.request [as produceBlockV3] (file:///usr/app/packages/api/src/utils/client/client.ts:91:50)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at BlockProposingService.produceBlockWrapper (file:///usr/app/packages/validator/src/services/block.ts:205:17)
    at BlockProposingService.createAndPublishBlock (file:///usr/app/packages/validator/src/services/block.ts:144:29)
    at async Promise.all (index 0)

This error seems to happen during deserialization of the response

return {executionPayloadBlinded, executionPayloadSource, ...produceBlindedBlock.fromJson(data)};

It's a bit strange that we try to parse it as a BlindedBeaconBlock. I am assuming the blocks are full blocks and we actually receive BlockContents (post deneb).

A possible reason for this could be that Nimbus is sending execution_payload_blinded as a string value instead of boolean as per spec.

from lodestar.

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.