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

Add checks inside parsing methods from evm address #1741

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

petreze
Copy link
Contributor

@petreze petreze commented Jul 27, 2023

Description:
Add checks in AccountId/ContractId parsing methods fromEvmAddress() and fromSolidityAddress() in order to handle cases where users pass the wrong format of evm address in Hedera to the inappropriate method

Related issue(s):

Fixes #1742

Notes for reviewer:
After this is merged, If a user passes an evm address with wrong format to one of these methods, the flow will be passed to the correct method

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@petreze petreze closed this Jul 27, 2023
@petreze petreze reopened this Jul 27, 2023
@petreze petreze merged commit 359e51f into develop Jul 27, 2023
13 of 15 checks passed
@petreze petreze deleted the fix/parsing-address branch July 27, 2023 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add handlers to the parsing methods from evm address to AccountId and ContractId
1 participant