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

fix: fix incorrect handling of contract_address as an array #483

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

Conversation

brawncode
Copy link

Pull Request type

  • Refactoring (no functional changes, no API changes)

What is the current behavior?

I noticed that contract_address was being treated as an array in the code, which caused an issue when trying to access contract_address[0].

Since contract_address is actually a string, I've updated the code to correctly check its truthiness.

The fix ensures the test works as intended.

expect(deployResult.contract_address).toBeTruthy();

This change resolves the issue and aligns with the expected data type.

Does this introduce a breaking change?

no

Other information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant