Skip to main content
Version: Next

reset

add_baker: (keys: [string, key], amount: option<tez>) => unit

Adds an account [sk, pk] as a baker. The change is only effective after Test.reset_state.

add_func_contract: <p, s>(_: (_: [p, s]) => [list<operation>, s], storage: s, amount: 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.