Migrate with constructor parameters in Truffle #4591
Unanswered
ghost
asked this question in
General Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So basically im not quite sure how i can get my parameters from my solidity code and pass them in the deploy function of the deployer for my 2nd migration with Truffle.
This is my constructor of my Solidity code:
Then this is my javascript migration code:
Each time i receive the same error for all parameters:
ReferenceError: stakeToken is not defined
How can i reference my parameters? help
Beta Was this translation helpful? Give feedback.
All reactions