Skip to content

Conversation

manny-uncharted
Copy link

Fix the Bug Submission Pull Request

What was the bug?
The bug existed in the code section where we created a new client that specifies how to identify and interact with the application using a deployer account. The issue was the creatorAddress didn't parse the deployer address, it only passed the deployer object and also we are to use algod instead of indexer
const appClient = new HelloWorldClient(
{
resolveBy: 'creatorAndName',
findExistingUsing: indexer,
sender: deployer,
creatorAddress: deployer,
},
indexer,
)

How did you fix the bug?

The first step was to:

  1. specify creatorAddress: with deployer.addr As the deployer is an object with an addr property that holds the creator's address.
  2. replace indexer with algod

Console Screenshot:
Screenshot 2024-03-27 at 16 20 34

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

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

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