Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[challenge-2] Update Function solveThePuzzle return string #81

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

longphu25
Copy link

Algorand Coding Challenge Submission

What was the bug?

Method solveThePuzzle need return string but in fuction not return value
Screenshot 2024-03-28 at 00 13 16

How did you fix the bug?

we need return string in Method solveThePuzzle , uncomment line return but we need check file test : algorand-puzzle-2.test.ts see testcase is :

expect(result.return).toBe('You solved the puzzle!');

we will return string 'You solved the puzzle!'

Console Screenshot:
My run test again :

Screenshot 2024-03-28 at 00 14 50

@iskysun96
Copy link
Contributor

iskysun96 commented Mar 28, 2024

how did you set up the dev env? did you use a specific algokit command?

@longphu25
Copy link
Author

Hi @iskysun96 ,

I use algokit and use new algokit 2.0 , I run command algokit bootstrap all

@iskysun96
Copy link
Contributor

🎉 Congrats on solving the 2nd Algorand Coding Challenge!

I have labeled your PR approved so you can now claim your certificate.

You can claim your certificate of completion NFT here:
https://goplausible.xyz/claim/c45kmyrg5vxtmzd4pz1cefpq70e7rp8tx6dyjcve8w544f35kgf6155h5nq6dgj7q3gceg1214gqfjbysvqxsyf2bnp5eyc5rnhy230

@iskysun96 iskysun96 added the Approved ✅ Successfully completed the challenge! label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved ✅ Successfully completed the challenge!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants