[go: up one dir, main page]

Tezlink/Node: import version service

What

Next: /protocols !17392 (merged)

Why

It's a necessary RPC for the demo. We move all rpc to avoid a conflict with the current /version rpc.

We could have:

  • used another port, but we don't want to start another rpc server
  • change the current /version but that's a big change in the rpc behavior. Also, this doesn't protect us against futur conflicts in rpc path
  • have only one rpc but dispatch depending on chain family, but that's confusing UX

How

We import the service from the shell, and implement a dummy version of version.

Manually testing the MR

A new test has been added

dune exec etherlink/tezt/tests/main.exe -- tezlink version
Edited by Pierre-Emmanuel CORNILLEAU

Merge request reports

Loading