Skip to content

PYTHON - challenge 3 done ! #59

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

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

Conversation

md-d-cdr-4304
Copy link

What was the problem?

The bug was smart contract deployment error. The contract failed due to a transaction error highlighted by the client call. The deposit function was failing while sending an asset to a new address without the recipient address opting in to the asset. The address therefore needed to be funded for the transaction to pull through and deposit the asset to the recipients address.

Screenshot 2024-05-05 115121

How did you solve the problem?

The bug was fixed by adding asset opt-in zero-value inner transfer to opt_in_to_asset() method.

Screenshot of your terminal showing the result of running the deploy script.

Screenshot 2024-05-05 115154

@md-d-cdr-4304 md-d-cdr-4304 changed the title PY - chalenge 3 done ! PYTHON - challenge 3 done ! May 5, 2024
@iskysun96 iskysun96 added the Approved ✅ Successfully completed the challenge! label May 7, 2024
@iskysun96
Copy link
Contributor

🎉 Congrats on solving the 3rd 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/h82968w2n76k9t6tz2ekm7zg790t6y7xwmqj0esqcbgaqd8641merqczya8mcmm238p1n1j6vjzwc23a3ztat3jew07z4ahrs56z41r

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