-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v5 ContractFactory.deploy() ignores transaction overrides #796
Labels
bug
Verified to be an issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
Comments
I’ll look into this shortly. Thanks! |
I've reproduced it and am re-factoring a bit of that code now which should address this issue and clean things up a bit. |
ricmoo
added a commit
that referenced
this issue
Apr 24, 2020
This should be fixed in 5.0.0-beta.183. Try it out and let me know. :) |
It works! |
Awesome! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Verified to be an issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
In ethers-v5 a deployment transaction such as
factory.deploy({ gasPrice, gasLimit })
ignores the transaction overrides. I think the problem is inresolveAddresses()
called from here:ethers.js/packages/contracts/src.ts/index.ts
Lines 982 to 983 in db604aa
ethers.js/packages/contracts/src.ts/index.ts
Lines 84 to 91 in db604aa
which maps on
paramType
=this.interface.deploy.inputs
=[]
and so returns nothing.The text was updated successfully, but these errors were encountered: