Skip to content

Conversation

davesque
Copy link
Contributor

What was wrong?

See issue #86 .

How was it fixed?

Removed collapse_type. Modified behavior of encode_single, is_encodable, and decode_single.

Cute Animal Picture

Cute animal picture

@@ -11,6 +11,9 @@ Released July 19, 2018
- :meth:`~eth_abi.abi.decode_single` called with ABI type 'string' will now return a python
:class:`str` instead of :class:`bytes`.
- Support for the legacy ``real`` and ``ureal`` types has been removed
- The :meth:`~eth_abi.abi.encode_single` and
:meth:`~eth_abi.abi.decode_single` functions no longer accept type tuples
to identify ABI types. Only type strings are accepted.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since alpha 1 was already released, this should go into a new version log.

@davesque davesque force-pushed the remove-collapse-type branch from 434bc1c to 3c9a285 Compare August 28, 2018 22:25
Also, modify behavior of `encode_single` and `decode_single` to only
accept type strings and not type tuples.
@davesque davesque force-pushed the remove-collapse-type branch from 3c9a285 to ac3bffc Compare August 28, 2018 22:31
Copy link
Contributor

@carver carver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, is process_type() next?

@davesque
Copy link
Contributor Author

@carver Yep. There's already a PR for it that I'm going to rebase.

@davesque davesque merged commit 48c9342 into ethereum:master Aug 29, 2018
@davesque davesque deleted the remove-collapse-type branch August 29, 2018 17:48
@davesque
Copy link
Contributor Author

@carver It's PR #87 .

pacrob added a commit to pacrob/eth-abi that referenced this pull request Dec 9, 2023
* remove testall because it doesnt work
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