Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

feat: add multi-target Typechain typings build option #127

Merged
merged 6 commits into from
Mar 7, 2024
Merged

Conversation

JDawg287
Copy link
Member

@JDawg287 JDawg287 commented Mar 1, 2024

Description

This PR extends the current Hardhat compile task and adds an option to specify the desired target you want to build for Typechain typings. The default target is ethers-v6, which is currently being used by different tests and external scripts.

Fixes TP-889

Additions and Changes

  • Added the compile task override in the hardhat.config.ts
  • Adapted multiple tests and scripts to the default outDir for Typechain typings

PR Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added or updated tests that comprehensively prove my change is effective or that my feature works

@JDawg287 JDawg287 self-assigned this Mar 1, 2024
Signed-off-by: Jawad Tariq <[email protected]>
@JDawg287 JDawg287 marked this pull request as ready for review March 5, 2024 15:11
README.md Outdated Show resolved Hide resolved
hardhat.config.ts Outdated Show resolved Hide resolved
scripts/const-addr-deployer.ts Outdated Show resolved Hide resolved
@JDawg287 JDawg287 merged commit a007fb2 into main Mar 7, 2024
7 of 10 checks passed
@JDawg287 JDawg287 deleted the feat/tp-889 branch March 7, 2024 15:05
JDawg287 added a commit that referenced this pull request Mar 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants