Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

v1.0 light node cannot sync to the newest block #4523

@guoxbin

Description

@guoxbin

Seems that v1.0 light node doesn't work. It cannot sync to the newest block. Apologies if I misunderstood.

Reproduction steps

  • run Alice full node
    cargo run -- --base-path /tmp/alice --chain=local --alice --node-key 0000000000000000000000000000000000000000000000000000000000000001 --telemetry-url ws://telemetry.polkadot.io:1024 --validator --log="sync=trace"

  • run Bob full node
    cargo run -- --base-path /tmp/bob --bootnodes /ip4/127.0.0.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN --chain=local --bob --port 30334 --telemetry-url ws://telemetry.polkadot.io:1024 --validator --log="sync=trace"

  • wait alice and bob generate some new blocks

  • run Charlie light node
    cargo run -- --base-path /tmp/charlie --bootnodes /ip4/127.0.0.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN --chain=local --charlie --port 30335 --telemetry-url ws://telemetry.polkadot.io:1024 --light --log="sync=trace"

Charlie light node cannot sync to the newest block

Err log of Charlie light node:
2020-01-03 10:50:10.570 libp2p-5 DEBUG sync Dropping PeerId("QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN") because "Verification failed: Could not fetch authorities at 0x629de053259ddd869b916c34cf059288bca9992b1c6590a6e6901f7c95c4c685: Error(InvalidAuthoritiesSet, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })"

Err log of Alice full node
2020-01-03 10:44:41.393 Protocol TRACE sync Remote call request 0 from QmeyzkWbNfP2zRppFivaBvvfDni3J3Z4cFt5r9pkwc4Lir (version at 0x629d…c685) failed with: Execution: Function: Module doesn't have export version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions