Lesson 14 expected array value #2458
Answered
by
alymurtazamemon
RowinVanAmsterdam
asked this question in
Q&A
-
Repo: When running
This is the
The tokenuris are uploaded successfully, so it looks like the error happens when I call the deploy function with the
|
Beta Was this translation helpful? Give feedback.
Answered by
alymurtazamemon
Sep 10, 2022
Replies: 2 comments 3 replies
-
@Charow0206 Your these alignment is to according to the constructor of this contract: const args: any[] = [
vrfCoordinatorV2Address,
networkConfig[chainId].mintFee,
networkConfig[chainId].gasLane,
subscriptionId,
networkConfig[chainId].callbackGasLimit,
tokenUris,
]; Your contract constructor: constructor(
address vrfCoordinatorV2,
uint64 subscriptionId,
bytes32 gasLane,
uint32 callbackGasLimit,
string[3] memory dogTokenUris,
uint256 mintFee
) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
RowinVanAmsterdam
-
Is this resolved? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Charow0206 Your these alignment is to according to the constructor of this contract:
Your contract constructor: