Testing framework: implement other baking policies
type:added
For LIGO developers
This MR implements new baking policies available in the underlying test helpers.
Changelog details:
Test.set_baker_policy
New 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