tezos-test-helpers

Tezos-agnostic test helpers
README

Introduction

Tezos is a blockchain that offers both consensus and meta-consensus, by which we mean that Tezos comes to consensus both about the state of its ledger, and also about how the
protocol and the nodes should adapt and upgrade.
For more information about the project, see https://tezos.com.

Getting started

Instructions to
install, start
using
, and
taking part in the
consensus
are
available at https://tezos.gitlab.io/.

The Tezos software

This repository hosts Octez, an implementation of the Tezos blockchain.
Octez provides a node, a client, a baker, an endorser, an accuser, and other tools, distributed with the Tezos economic protocols of Mainnet for convenience.

In more detail, this git repository contains:

  • the source code, in directory src/

  • tests (mainly system tests):

    • in a Python testing and execution framework, under tests_python/

    • in an OCaml system testing framework for Tezos called Tezt, under tezt/

  • the developer documentation of the Tezos software, under docs/

  • a few third-party libraries, adapted for Tezos, under vendors/

The Tezos software may run either on the nodes of
the main Tezos network (mainnet) or on various Tezos test
networks
.

The documentation for developers, including developers of the Tezos software
and developer of Tezos applications and tools, is available
online at https://tezos.gitlab.io/. This documentation is always in
sync with the master branch which may however be slightly
desynchronized with the code running on the live networks.

The source code of Octez is placed under the MIT Open Source
License
.

Contributing

Development workflow

All development of the Tezos code happens on
GitLab at https://gitlab.com/tezos/tezos. Merge requests
(https://gitlab.com/tezos/tezos/-/merge_requests) should usually
target the master branch; see the contribution
instructions
.

The issue tracker at https://gitlab.com/tezos/tezos/issues can be used
to report bugs and to request new simple features. The Tezos Agora
forum
is another great place to
discuss the future of Tezos with the community at large.

Continuous Integration

Running CI pipelines in your forks using GitLab's shared runners
may fail, for instance because tests may take too long to run.
The CI of tezos/tezos (i.e. https://gitlab.com/tezos/tezos)
uses custom runners that do not have this issue.
If you create a merge request targeting tezos/tezos, pipelines
for your branch will run using those custom runners.
To trigger those pipelines you need to be a developer in the
tezos/tezos project. Otherwise, reviewers can do that for you.

Development of the Tezos protocol

The core of the Tezos software that implements the economic ruleset is
called the protocol. Unlike the rest of the source code, updates to the
protocol must be further adopted through the Tezos
on-chain voting
procedure
. Protocol
contributors are encouraged to synchronize their contributions to
minimize the number of protocol proposals that the stakeholders have
to study and to maximize the throughput of the voting procedure.

Community

Links to community websites are gathered in the following community portals:

  • https://www.tezos.help/

  • https://developers.tezos.com/ (for developers of applications built on Tezos)

Install
Published
15 Nov 2022
Sources
download
sha256=c877d89e9fed2012aa6b541232f54723294d1356baa75bf8af99362ade8d6557
sha512=a7c37b9e3095978d16c7b82e377deca1d2edda1c441cd031f93c4e5d9d0d95ed8b2198d8a99d10407ef923559b8a7e422f61c3d3393f56fcc791bd073e3ca4fb
Dependencies
data-encoding
>= "0.6" & < "0.7"
lwt
>= "5.6.0"
alcotest
>= "1.5.0"
fmt
>= "0.8.7"
uri
>= "2.2.0"
ocaml
>= "4.12"
dune
>= "3.0"
Reverse Dependencies