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 solvedd #93

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

Conversation

PranavbalajiGit
Copy link

Algorand Coding Challenge Submission

What was the bug?

What was the bug?

->given code after debugging gives an error at
1."""ptxn.receiver==Global.current_application_id"""
2."""txn.sender, global.current_application_address"""
the above are coparing the adress type and application type
->in one expression, ptxn.reciver returns the address type global.current_application_id returns the application type comparing both gives an error.

->in second expression ,op.app_opted_in method is comparing the txt.sender(return application type )

How did you fix the bug?

to solve one we need to use the current_application_address(returns addres type)method in Global class{
Global.current_application_address}
->to solve secondone we need to use the current_application_address(return address type)method in Global class{
Global.current_application_id}
Screenshot (10)

Console Screenshot:

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

🎉 Congrats on solving the 1st 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/5rc2q57822ka1h0pf4eqv6yx1nxwwvvf5m72vte7gdf6sr0wxd4ccdsp3qzmtas72jxdnrjv9ewf6rwee0aerm1whzt509dv2rh5w18

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