UNPKG

@hyperlane-xyz/core

Version:

Core solidity contracts for Hyperlane

21 lines (16 loc) 534 B
import { DeployFunction } from 'hardhat-deploy/dist/types' import '@eth-optimism/hardhat-deploy-config' import '@nomiclabs/hardhat-ethers' import { assertContractVariable, deploy } from '../src/deploy-utils' const deployFn: DeployFunction = async (hre) => { await deploy({ hre, name: 'L2ToL1MessagePasser', args: [], postDeployAction: async (contract) => { await assertContractVariable(contract, 'MESSAGE_VERSION', 1) }, }) } deployFn.tags = ['L2ToL1MessagePasserImpl', 'l2'] export default deployFn