Skip to content

Lesson 9: Compile error - stack too deep #345

Discussion options

You must be logged in to vote

@RichardPalladino following line in your RaffleTest.t.sol file is causing this error. (entranceFee, interval, vrfCoordinator, gasHash, subscriptionId, callbackGasLimit, linkToken, deployerKey) = helperConfig.activeNetworkConfig(); try removing one variable from this tuple and your code will work fine. i.e. you can remove subscriptionId as you are not using it in this file. your line should look like this after removing this variable, (entranceFee, interval, vrfCoordinator, gasHash, , callbackGasLimit, linkToken, deployerKey) = helperConfig.activeNetworkConfig();. @sharonphiliplima I think you are facing the same issue, try this if it works. Otherwise, you can share your repo here so I can…

Replies: 3 comments 6 replies

Comment options

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

@sharonphiliplima
Comment options

Comment options

You must be logged in to vote
4 replies
@sharonphiliplima
Comment options

@sharonphiliplima
Comment options

@RichardPalladino
Comment options

@usmanfarooq91
Comment options

Answer selected by RichardPalladino
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants