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 4 DONE AND DUSTED ! #55

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

Conversation

md-d-cdr-4304
Copy link

Algorand Coding Challenge Submission

What was the bug?

The bug was a smart contract compilation error. The contract would fail to build after running the command "algokit project run build". This was because of the record_ai_info function, which failed causing the error in compliation. An issue of type compatibility in the smart contract was the main issue.

How did you fix the bug?

Replaced the parameter types with the corresponding ARC4 types.

For the name, user_model and medical_degree information, the arc4.String and for the Boolean values: residency_training and medical_license the arc4.Bool and for the remaining int value replaced with arc4.UInt64 value.

Console Screenshot:

Screenshot 2024-05-05 122205

@iskysun96 iskysun96 added the Approved ✅ Successfully completed the challenge! label May 7, 2024
@iskysun96
Copy link
Contributor

🎉 Congrats on solving the 4th Algorand Python 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/ef5704v2qwccdxhczy2q9xrapp23gh3sxm0gqc3gjya321kvqvm3nenmkqagy123nwcmf19q16fkcecs3157qyxd9fzye5pb2579000

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