We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83b6461 commit 17d4eb3Copy full SHA for 17d4eb3
1 file changed
solidity/ecdsa/hardhat.config.ts
@@ -23,6 +23,15 @@ const TASK_CHECK_ACCOUNTS_COUNT = "check-accounts-count"
23
24
/** Prefer sibling ../random-beacon/export when present (monorepo) so deploy scripts match source, not stale npm. */
25
function resolveRandomBeaconExport(subdir: "deploy" | "artifacts"): string {
26
+ if (subdir === "deploy") {
27
+ const override = path.join(
28
+ __dirname,
29
+ "external/random-beacon/export/deploy"
30
+ )
31
+ if (fs.existsSync(override)) {
32
+ return override
33
+ }
34
35
const local = path.join(__dirname, "../random-beacon/export", subdir)
36
if (fs.existsSync(local)) {
37
return local
0 commit comments