-
Notifications
You must be signed in to change notification settings - Fork 25
Conversation
@s1na Great 👍, thought about this yesterday as well and prepared a release on the Some grain of salt: the test repo contains various structural updates / changes on the directory structure, see the "Test Format Changes" section in the release notes (the biggest change being the introduction of this new legacy test suite, but also the Cheers |
(if you want you can nevertheless directly start working/checking against the tests and opening a WIP PR on the VM side pointing to this PR here) |
I updated the submodule to Regarding the structural changes, what do you suggest we do? You mentioned that
Do you have some specific preparatory updated in mind? Alternatively we could update how the other libraries import the tests. |
@s1na Thanks for updating this, also wrote a short message on Gitter. I would have a tendency to keep this completely transparent, so manage the changed folders internally here - so manage here some array of the legacy HFs and then internally fetch from the sub folder - and pass this on to the VM and keep the VM code unchanged. That's just a "might be the easiest and eventually most tightly kept solution" suggestion, generally don't have a strong opinion on that. |
Just had a look and it seems the VM doesn't query based on HF, but queries directly for source files. I also have a tendency to keep this repo as only a thin wrapper and have the logic of parsing test cases in the using code (e.g. VM). That said, we might be able to modify getTestsFromArgs which accepts the fork as an arg, and choose files/subdirs based on that. Then modify VM to use this API. |
@s1na Ok, just saw how you integrated, should we then leave this just "as is" and merge here? Given that there are so heavy changes in the submodule structure, I would give this at least a |
@holgerd77 sorry I somehow missed this message. I'd be okay with merging like this. I integrated these new tests in the VM and it wasn't much work. Yeah I agree with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Sina, ok, then I'll approve here and prepare the release notes. Also just asked on the tests
repo if it might be the time for another beta
or eventually a final Istanbul
release.
Update tests submodule to 52d5247 (Sep 22, 2019) which includes ethereum/tests#639.