def METHOD_NAME(tmp_path, deployer):
    rpc_file, artifact = deploy(deployer, tmp_path)
    deployment = Deployment.from_file(artifact)
    assert deployment.chain is not None
    address = deployment.chain.contracts["RequestManager"].address
    request_manager: Any = ape.project.RequestManager.at(address)
    request_manager.updateFees(1, 2, 3)
    config = read_config_state(rpc_file, artifact)
    path = tmp_path / "temp.state"
    config.to_file(path)
    # modify the data so the checksum does not match anymore
    data = json.loads(path.read_text())
    data["RequestManager"]["min_lp_fee"] = 9
    path.write_text(json.dumps(data))
    # TODO: due to a presumed bug in apischema, we cannot do
    #
    #  match = r"checksum mismatch: [0-9a-f]+ \(expected [0-9a-f]+\)"
    #  with pytest.raises(ValidationError, match=match):
    #
    # because apischema will raise NonTrivialDependency.
    with pytest.raises(NonTrivialDependency):
        Configuration.from_file(path)