Replies: 2 comments
-
this is what i tried but didn't work cuz constructor can't get required transference. const init_amount = ethers.parseEther("10");
const server = await ethers.deployContract("Server", victim, {
value: init_amount,
from: await victim.getAddress(),
}); it will cause a revertion. |
Beta Was this translation helpful? Give feedback.
0 replies
-
add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found a deploy api as following:
but the
signerOrOptions
argument is mutually exclusive means that I can't specify the signer and msg.value at same time.can someone help me solve this?
post the sol file
Beta Was this translation helpful? Give feedback.
All reactions