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

implement SSZ Optionals (EIP-6475) #41

Merged
merged 3 commits into from Feb 10, 2023
Merged

implement SSZ Optionals (EIP-6475) #41

merged 3 commits into from Feb 10, 2023

Conversation

etan-status
Copy link
Contributor

Adds support for SSZ optionals according to EIP-6475. https://eips.ethereum.org/EIPS/eip-6475

Adds support for SSZ optionals according to EIP-6475.
https://eips.ethereum.org/EIPS/eip-6475
env TEST_LANG="c" NIMFLAGS="${NIMFLAGS} --gc:refc" nimble test
env TEST_LANG="cpp" NIMFLAGS="${NIMFLAGS} --gc:refc" nimble test
if [[ "${{ matrix.branch }}" == "devel" ]]; then
echo -e "\nTesting with '--gc:orc':\n"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is memory corruption going on in the new Opt/Option test cases when using devel with --gc:orc.
Switched to --gc:refc for now, and marked this in a way so that we will know when it works again (the if wrappers around the --gc:orc nimble test commands need to be removed).

Sadly, did not manage to provide minimal repro in reasonable time. Maybe something related to the lent results from Option/Opt. It affects both.

@etan-status
Copy link
Contributor Author

Going for a post-commit review on this one so that I can refer to it from an EIP (only accepts commit refs). Please still go over it and leave comments if needed.

@etan-status etan-status merged commit d6fb05e into master Feb 10, 2023
@etan-status etan-status deleted the dev/etan/sz-opt branch February 10, 2023 23:32
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.

None yet

1 participant