Replies: 2 comments 6 replies
-
I figured out that it works if I call the method this way: const tx = await contract.functions["release(address)"](owner.address); Is this the way that's supposed to be used? |
Beta Was this translation helpful? Give feedback.
2 replies
-
@krzkaczor One other related question. The method |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the current version of PaymentSplitter by @OpenZeppelin. It defines two overloads for the
release
method:My contract derives from PaymentSplitter and overrides the first method:
When I try to call
release(string)
in my unit tests, I get this error:error TS2339: Property 'release' does not exist on type 'MyContract'.
I cannot find a way to fix it. Can someone help?
The generated typescript is the following:
Beta Was this translation helpful? Give feedback.
All reactions