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

ABI Encoder/Decoder (1.1): Supports binary extension #60

Closed
maoueh opened this issue Sep 14, 2018 · 0 comments
Closed

ABI Encoder/Decoder (1.1): Supports binary extension #60

maoueh opened this issue Sep 14, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@maoueh
Copy link
Contributor

maoueh commented Sep 14, 2018

Copied from original issue:

Types may have a $ suffix. During binary-to-json conversion, fields with a $ type don't error out when end-of-data has been reached; instead they're omitted. During json-to-binary conversion, missing fields don't error out as long as no non-missing fields follow in the ABI. This omits the bytes from the output stream.

We will need to support this feature in the ABI decoder so previous version if data can continue to be read while newer fields are decoded correctly.

Implementation in: EOSIO/eos#5652
Original issue: EOSIO/eos#5600

@maoueh maoueh added the enhancement New feature or request label Sep 14, 2018
@maoueh maoueh closed this as completed in c98474a Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant