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

Migrate runBlockchain to typescript #517

Merged
merged 2 commits into from May 24, 2019
Merged

Migrate runBlockchain to typescript #517

merged 2 commits into from May 24, 2019

Conversation

s1na
Copy link
Contributor

@s1na s1na commented May 23, 2019

This "migration" is mostly just changing the filetype and annotating types with any, so that we have all lib/ files in ts, and can use stricter typescript config (no js allowed). A few things need fixing in future:

  • Upgrading ethereumjs-blockchain causes browser tests to fail (due to util.callbackify)
  • runBlockchain should be promisified. Currently the difficulty is in Blockchain.iterator, which acts as a generator (an unstable js feature)
  • ethereumjs-block has not been migrated yet

Copy link
Member

@holgerd77 holgerd77 left a comment

Choose a reason for hiding this comment

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

Looks good.

Yay, transition complete! 😀

@holgerd77
Copy link
Member

Ah, the tests, ok. 😋

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants