mirror of
https://github.com/luxfi/uma.git
synced 2026-10-30 15:14:44 +00:00
22 lines
609 B
TypeScript
22 lines
609 B
TypeScript
import { getHardhatConfig } from "@uma/common";
|
|
import path from "path";
|
|
|
|
// Hardhat plugins used in monitor-v2 package tests.
|
|
import "@nomiclabs/hardhat-ethers";
|
|
import "hardhat-deploy";
|
|
|
|
const coreWkdir = path.dirname(require.resolve("@uma/core/package.json"));
|
|
const packageWkdir = path.dirname(require.resolve("./package.json"));
|
|
|
|
const configOverride = {
|
|
paths: {
|
|
root: coreWkdir,
|
|
sources: `${coreWkdir}/contracts`,
|
|
artifacts: `${coreWkdir}/artifacts`,
|
|
cache: `${coreWkdir}/cache`,
|
|
tests: `${packageWkdir}/test`,
|
|
},
|
|
};
|
|
|
|
export default getHardhatConfig(configOverride, coreWkdir);
|