TypeError: Cannot read properties of undefined (reading 'deployed') #1433
Answered
by
letallan
Benrockiee
asked this question in
Q&A
-
when i try to deploy, using this deploy script
i get this Error looking like its coming from
|
Beta Was this translation helpful? Give feedback.
Answered by
letallan
Jul 31, 2022
Replies: 2 comments 2 replies
-
Hey, Benrockiee You should use round brackets to call deploy function
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Benrockiee
-
@Benrockiee Do something like this (use your own contract): const arguments = ["0x48656c6c6f20576f726c64210000000000000000000000000000000000000000"]
const contractxyz = await deploy("contractxyz", {
from: deployer,
args: arguments,
log: true,
waitConfirmations: network.config.blockConfirmations || 1, // If no blockConfirmations given in hardhat.config
}) |
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
Hey, Benrockiee
You should use round brackets to call deploy function