Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

enable abi encoding / decoding of structs as function params #1285

Closed
wants to merge 1 commit into from

Conversation

gregdhill
Copy link
Contributor

Signed-off-by: Gregory Hill greg.hill@monax.io

Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
@gregdhill gregdhill marked this pull request as ready for review February 21, 2020 11:59
@gregdhill gregdhill requested a review from a team February 21, 2020 11:59
@seanyoung
Copy link
Contributor

Looking at the code, I'm not sure this will work with structs-in-structs.

Some test cases for struct-in-struct, fixed length array of struct, and dynamic length array of struct would be useful. Both encode/decode.

Copy link
Contributor

@seanyoung seanyoung left a comment

Choose a reason for hiding this comment

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

The encoding of structs with fixed-length fields, and dynamic length fields differs significantly. This is also true for arrays of struct (array of struct with fixed length fields and one with dynamic length fields.

All these cases need testcases and implementation.

@silasdavis silasdavis closed this Mar 19, 2021
@silasdavis silasdavis deleted the branch hyperledger-archives:master March 19, 2021 17:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants