Skip to content

Commit 015abb2

Browse files
authoredJun 3, 2022
Support promise inputs in ethers-v5 target (#700)
* feat: wrap primitive input types in PromiseOrValue * chore: regenerate types * test: add tests for inputs wrapped in promise * fix: common import in factories * refactor: use PromiseOrValue for the from override * chore: regenerate types * chore: add changeset
1 parent fd4cd05 commit 015abb2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2178
-1365
lines changed
 

Diff for: ‎.changeset/wild-fans-brake.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@typechain/ethers-v5': minor
3+
---
4+
5+
Added support for inputs wrapped in promise for ethers-v5 target.

Diff for: ‎packages/hardhat-test/contracts/Directory/Hello.sol

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// SPDX-License-Identifier: MIT
2+
pragma solidity ^0.8.7;
3+
4+
contract Hello {
5+
constructor(uint) {}
6+
}

0 commit comments

Comments
 (0)
Please sign in to comment.