def clean_db(node: Node): return node.clean_db()
def assert_error_deploy(env: Node, genesis_file, msg="Error config"): env.clean_db() is_success, err_msg = env.deploy_me(genesis_file) print(is_success) assert not is_success, "{}-{}".format(msg, err_msg)