Skip to content

fix: correctly decoding string return value#14603

Merged
nventuro merged 1 commit into05-27-fix_allow_of_returning_of_tuples_from_contract_funcsfrom
05-29-fix_correctly_decoding_string_return_value
May 29, 2025
Merged

fix: correctly decoding string return value#14603
nventuro merged 1 commit into05-27-fix_allow_of_returning_of_tuples_from_contract_funcsfrom
05-29-fix_correctly_decoding_string_return_value

Conversation

@benesjan
Copy link
Contributor

@benesjan benesjan commented May 29, 2025

This pull request addresses an issue where the ABI decoder incorrectly returns string values as numeric byte arrays (e.g., [120n, 121n, 122n]) instead of the expected string ("xyz"). The fix modifies the AbiDecoder class to properly parse and convert byte-array-based string representations into their corresponding string literals.

Fixes #14600

Copy link
Contributor Author

benesjan commented May 29, 2025

@nventuro nventuro merged commit acb4858 into 05-27-fix_allow_of_returning_of_tuples_from_contract_funcs May 29, 2025
6 of 7 checks passed
@nventuro nventuro deleted the 05-29-fix_correctly_decoding_string_return_value branch May 29, 2025 19:55
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.

3 participants