Testing framework: baker accounts and register delegate
This MR adds new features related to using a generated account as a baker.
It adds:
-
Test.baker_account : (string * key) -> tez option -> unit: adds an account(sk, pk)as a baker. The change is only effective afterTest.reset_state. -
Test.register_delegate : key_hash -> unit: registers akey_hashcorresponding to an account as a delegate. -
Test.bake_until_n_cycle_end: nat -> unit: it bakes until n cycles pass, so that thepkh` can be used effectively as a baker.
-
has a changelog entry
Edited by E. Rivas