mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 14:48:06 -05:00
* Add Prettier configuration and ignore files for code formatting - Created .prettierignore to exclude specific directories and files from formatting. - Added .prettierrc.yml with custom settings for print width and trailing commas. - Updated package.json to include Prettier and its Solidity plugin as dependencies, along with scripts for formatting and checking code. * Run prettier formatting
16 lines
403 B
TypeScript
16 lines
403 B
TypeScript
import { buildModule } from "@nomicfoundation/hardhat-ignition/modules";
|
|
import hre from "hardhat";
|
|
import fs from "fs";
|
|
import path from "path";
|
|
|
|
export default buildModule("DeployPCR0", (m) => {
|
|
const networkName = hre.network.config.chainId;
|
|
|
|
// Deploy the PCR0Manager contract (implementation from PCR0.sol)
|
|
const pcr0Manager = m.contract("PCR0Manager");
|
|
|
|
return {
|
|
pcr0Manager,
|
|
};
|
|
});
|