Use local node for testing against reference implementation on CI
Clarification and motivation
Currently our scripts/ci/typecheck-tezos-client.sh
passes -A babylon.testnet.tezos.serokell.team
to tezos-client
. However, this node is dead. It will be fixed by changing the address to carthage.testnet.tezos.serokell.team
, but it seems better to have a node specifically for CI. The reasons are:
- This node should live longer than
carthage.testnet.tezos.serokell.team
because Carthage protocol will be replaced by another one at some point. So we won't have such breakage again. - Maybe we can make it work a bit faster, it depends on where we will run this node.
- I think we need some node specifically for CI anyway to be able to run nettest-based tests quickly.
I am not sure what's the best way to do it, please research/think about it.
Acceptance criteria
- There is a
tezos-node
running on our servers, it maintains some trivial chain, there is only one node and one baker. Currently we don't care about parameters of that tiny network. But this chain should be occasionally reset to prevent it from growing indefinitely. -
scripts/ci/typecheck-tezos-client.sh
talks to this node instead ofbabylon.testnet.tezos.serokell.team
. That script only performs local operations. AFAIU it talks to node only to get a list of available commands.