Skip to main content
Version: 1.7.0

reset

let add_baker: (_: [string, key]) => (_: option<tez>) => unit

Adds an account `(sk, pk)` as a baker. The change is only effective after `Test.reset_state`.

let add_func_contract: <p, s>(_: (_: [p, s]) => [list<operation>, s]) => (_: s) => (_: tez) => unit

Setup a bootstrap contract with an entrypoint function, initial storage and initial balance. Bootstrap contracts will be loaded in order, and they will be available only after reset.