mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 23:47:55 -05:00
* standardise contract deploy logs * apply standardization to hardhat deploy scripts * Update contracts/common/helpers/deployments.ts Co-authored-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com> Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com> * fix copy paste issues * use refactored deployment logger * add a lint space --------- Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com> Co-authored-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
17 lines
596 B
TypeScript
17 lines
596 B
TypeScript
import { ethers } from "hardhat";
|
|
import { DeployFunction } from "hardhat-deploy/types";
|
|
import { deployFromFactory } from "../scripts/hardhat/utils";
|
|
import { get1559Fees } from "../scripts/utils";
|
|
import { LogContractDeployment } from "contracts/common/helpers";
|
|
|
|
const func: DeployFunction = async function () {
|
|
const contractName = "TestEIP4844";
|
|
|
|
const provider = ethers.provider;
|
|
|
|
const contract = await deployFromFactory(contractName, provider, await get1559Fees(provider));
|
|
await LogContractDeployment(contractName, contract);
|
|
};
|
|
export default func;
|
|
func.tags = ["TestEIP4844"];
|