Skip to content

Testing framework: implement other baking policies

E. Rivas requested to merge er433/test/baker_policy into dev

type:added

For LIGO developers

This MR implements new baking policies available in the underlying test helpers.

Changelog details:

New Test.set_baker_policy

There is a new Test.set_baker_policy : test_baker_policy -> unit that allows to set different baker policies as available in the testing helpers provided by the protocol. The type test_baker_policy is defined as the sum type:

type test_baker_policy =
  | By_round of int
  | By_account of address
  | Excluding of address list

In particular, Test.set_baker addr is equivalent to Test.set_baker_policy (By_account addr).

Edited by E. Rivas

Merge request reports