-
Notifications
You must be signed in to change notification settings - Fork 791
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
fix: tx error strings should not contain multiple consecutive whitespace characters #578
Conversation
Hi David, thanks, could you paste the output along your linting problems? We have to get this fixed since linting is an integrational part of the required CI tasks to complete. Thanks! |
@holgerd77 The output of running
|
That means there's a linting error in |
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.
Looks good, thanks
Thanks! Once this patch is released I'll be able to release a new ganache-core and ganache-cli beta with the new v4 ejsvm. |
@davidmurdoch Sorry, we are not really getting the good moment for a release. We had so much active work - mainly from @s1na - that we are now pretty pretty close to be able to release the full But then there is always coming something in between, now the last thing being some changes to Do you urgently need this release? Then I will initiate an in-between |
@holgerd77 I'd prefer an earlier release only because Ganache's large user base may help uncover other bugs introduced in the TS refactor in v4, so it may be beneficial if ganache can release a version including ethereumjs@4.0.* before Istanbul support is available. |
@davidmurdoch ah, we won't do another v4.0.x release but just include the But you should be able to expose your users to the |
@holgerd77 Ah, sorry I wasn't clear... that's not what I was suggesting. Because 4.0.0 was a complete refactor to TypeScript there are likely still some regressions lurking in the code base. It could be beneficial for In the end it's probably not going to be much of a hassle to triage any new bugs in the next minor release, especially if you are saying all the new code changes will be related to Istanbul, and not changes to the core internals. |
@davidmurdoch Hi David, we now have the v4.1.0 release out of door containing the demanded fix of the error message. This release also includes the feature-complete set of Let us know if you have problems or questions regarding the integration. Would also be nice if you could give us a short ping once a Ganache or also a full Truffle release is out using this version. Cheers |
Hey @holgerd77 77 (/cc @s1na), I was working on the release today and ran into a performance regression in ganache's test while testing the update. ethereumjs-vm@3.0.0: ethereumjs-vm@4.1.0: There are many more tests with regressions, this one just happened to be triggering the test timeout, causing it to fail. I'm attempting to track the regression(s) down now. Let me know if you are already aware or have and hints as to where the slow down could be happening. |
Oh! I'm glad you're measuring performance and these regressions bubbled up. I can't think of any specific issue that might be causing this. I hope it comes down to a specific issue and it's not that the new architecture is overall causing the slowdown. Please let me know how I can help with tracking down the regressions. |
@davidmurdoch This seems to be something for more thorough investigation. Can you open a new issue on this - eventually copying your message above. This will otherwise likely get lost in this error string issue so contextually detached here. |
@s1na Tracked the majority of the slowdown to this commit: 4678325 Initially I thought it was because of 4678325#diff-452d330f2397c53c4a10771e89e595b8R254-R256 But that has since been refactored. The issue here was that the The refactored code seems to have moved the promisification to Another potential performance penalty (I haven't measured myself) is due to async/await is getting transpiled into TypeScript's |
Opened a separate issue for this here: #598 |
519a076#diff-f5570026bc45fa69b273a873ea7ab1c4R93 caused an unintended breaking change by changing the output of the error strings.
Also, I couldn't test this because I couldn't figure out how to get things working. I also couldn't push without adding
--no-verify
due to the linter not working out of the box (something aboutethereumjs-config-format
not available).