def METHOD_NAME(
    rpc_file: Path,
    keystore_file: Path,
    password: str,
    abi_dir: Path,
    artifacts_dir: Path,
    chain_id: ChainId,
    commit_check: bool,
) -> None:
    """Deploy resolver on the base chain."""
    beamer.util.setup_logging(log_level="DEBUG", log_json=False)
    if commit_check:
        _ensure_commit_is_on_remote()
    artifacts_dir.mkdir(parents=True, exist_ok=True)
    rpc_info = beamer.util.load_rpc_info(rpc_file)
    account = beamer.util.account_from_keyfile(keystore_file, password)
    log.info("Loaded keystore file", address=account.address)
    url = rpc_info[chain_id]
    w3 = make_web3(url, account)
    assert w3.eth.chain_id == chain_id
    log.info("Connected to RPC", url=url)
    abi_manager = ABIManager(abi_dir)
    resolver = deploy_contract(w3, abi_manager, "Resolver")
    path = artifacts_dir / "base.deployment.json"
    generate_artifacts(path, account.address, (resolver,))
    log.info("Generated artifact", path=str(path))