Skip to content

Lesson 14 expected array value #2458

Discussion options

You must be logged in to vote

@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
)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@RowinVanAmsterdam
Comment options

Answer selected by RowinVanAmsterdam
Comment options

You must be logged in to vote
2 replies
@RowinVanAmsterdam
Comment options

@krakxn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants