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

Add tests for child container being mutated while parent container is iterated #2663

Closed
fxamacker opened this issue Jul 18, 2023 · 0 comments · Fixed by #2733
Closed

Add tests for child container being mutated while parent container is iterated #2663

fxamacker opened this issue Jul 18, 2023 · 0 comments · Fixed by #2733

Comments

@fxamacker
Copy link
Member

fxamacker commented Jul 18, 2023

It would be good to have this for onflow/atree#292.

Issue to be solved

Currently, child containers are allowed to be mutated while their parent container is iterated. However, there does not appear to be any tests for this.

Suggested Solution

Add tests for child container being mutated while parent container is iterated.

Alternatively, determine if it is feasible to not allow child containers being mutated while parent container is iterated.

For more details, see Discord thread.

@fxamacker fxamacker changed the title Add tests for child container being mutated while parent container is iterated Add tests (or don't allow) child container being mutated while parent container is iterated Jul 18, 2023
@fxamacker fxamacker changed the title Add tests (or don't allow) child container being mutated while parent container is iterated Add tests for child container being mutated while parent container is iterated Jul 19, 2023
@SupunS SupunS self-assigned this Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants