I have a problem with Edo protocol version.
On my computer, I tried to install tezos-node and tezos-client from PPA, with OPAM and from gitlab sources. With these 3 ways, I always have the same problem: tezos-client doesn't use same protocol as tezos-node.
On startup, node shows PtEdoTez:
~/.opam/for_tezos/bin/tezos-node run --rpc-addr 127.0.0.1:8732
Feb 16 15:43:33.494 - node.main: read identity file (peer_id = idtYAvzx1CZpDZGzWfGsZv6u5mkCzr)
Feb 16 15:43:33.494 - node.main: starting the Tezos node (chain = TEZOS_EDONET_2020-11-30T12:00:00Z)
Feb 16 15:43:33.494 - node.main: disabled local peer discovery
Feb 16 15:43:33.581 - node: shell-node initialization: bootstrapping
Feb 16 15:43:33.687 - node: shell-node initialization: p2p_maintain_started
Feb 16 15:43:33.687 - external_block_validator: initialized
Feb 16 15:43:33.861 - external_block_validator: block validator process started with pid 1170415
Feb 16 15:43:36.054 - node.validator: activate chain NetXSp4gfdanies
Feb 16 15:43:36.055 - p2p.maintenance: too few connections (0)
Feb 16 15:43:36.060 - node.chain_validator: no prevalidator filter found for protocol
Feb 16 15:43:36.060 - node.chain_validator: PtEdoTezd3RHSC31mpxxo1npxFjoWWcFgQtxapi51Z8TLu6v6Uq
Feb 16 15:43:36.072 - node.main: starting RPC server on ::ffff:127.0.0.1:8732 (tls = false)
Feb 16 15:43:36.072 - node.main: the Tezos node is now running
Feb 16 15:43:36.764 - validator.chain: Sync_status: unsync
Feb 16 15:43:38.163 - validator.chain: Chain is bootstrapped
Feb 16 15:43:38.165 - validator.chain: Sync_status: sync
But node is v8.2:
~/.opam/for_tezos/bin/tezos-node --version
6102c808 (2021-02-10 22:57:06 +0100) (8.2)
Tezos-client using PtEdo2Zk:
~/.opam/for_tezos/bin/tezos-client --protocol PtEdo2ZkT9oKpimTah6x2embF25oss54njMuPzkJTEi5RqfdZFA
Warning:
This is NOT the Tezos Mainnet.
Do NOT use your fundraiser keys on this network.
Warning:
The protocol provided via `--protocol` (PtEdo2ZkT9oK)
is not the one retrieved from the node (PtEdoTezd3RH).
Tezos-client using PtEdoTez:
~/.opam/for_tezos/bin/tezos-client --protocol PtEdoTezd3RHSC31mpxxo1npxFjoWWcFgQtxapi51Z8TLu6v6Uq
Error:
Wrong value for command line option --protocol.
Value PtEdoTezd3RHSC31mpxxo1npxFjoWWcFgQtxapi51Z8TLu6v6Uq does not correspond to any known protocol.
During building, I had messages saying that it was building PtEdo2Zk for all components. I didn't get any PtEdoTez in logs. My node and my client have been built at the same time. I don't understand why they don't have the same protocol.
Am I missing something ?
thanks
make clean
beforemake build-deps
and thenmake
? it feels like you have some legacy files. Everything that isPtEdoTez
should not be used,PtEdo2Zk
is the real protocol.make clean
, but the result is still the same. Is there any directory I can delete to remove some cache or other ... ?node.validator: fetching protocol PtEdoTezd3RHSC31mpxxo1npxFjoWWcFgQtxapi51Z8TLu6v6Uq
Does it mean that I run the wrong binary or it's just a bootstrapping issue ? And what can I do to bootstrap with right peers or right protocl ?