-
Notifications
You must be signed in to change notification settings - Fork 778
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
Vitest/ESM: VM File Path Additions and Ethash Transition #2786
Merged
acolytec3
merged 4 commits into
esm-part-2-5-with-tests
from
esm-vm-file-path-additions
Jun 15, 2023
Merged
Vitest/ESM: VM File Path Additions and Ethash Transition #2786
acolytec3
merged 4 commits into
esm-part-2-5-with-tests
from
esm-vm-file-path-additions
Jun 15, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. |
acolytec3
reviewed
Jun 15, 2023
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.
LGTM
acolytec3
approved these changes
Jun 15, 2023
acolytec3
added a commit
that referenced
this pull request
Jun 16, 2023
* RLP: Switch Tape -> Vitest, add dependencies, remove Karma config * Rebuild package-lock.json * (Hopefully) fix coverage * RLP: update import file path references * RLP: switch to type module in package.json, fix linter (explcitly switch to cjs) * Util: tape -> vitest * Util: add internal .js file references * Monorepo: renamed other .eslintrc.js files to .eslintrc.cjs * Util: adjust external import path references * ESLint config path fix * Common: tape -> vitest transition * Common: fix browser tests * Common: add missing path references * Common fixes * Block: Tape -> Vitest test transition (Node tests) * Migrate blockchain tests to vitest * Remove karma from blockchain * Small syntax updates * Block: require -> import JSON updates * Block: JSON import related test fixes * Block: update .js path references * Blockchain: .js additions * Blockchain: add more .js path references * Run browser tests in headless mode * StateManager: vitest transition part 1 * StateManager: tape -> vitest test transitions (EthersStateManager test not yet working, need EVM transition first) * Remove require() from ESM test * StateManager: update lru-cache dependency from v7 -> v9 * StateManager: more .js file additions * Add browser config for vitest in block * Tx: tape -> vitest test transition * Tx: adopt tx test runner * Tx: JSON require -> import * Tx: fixes * Tx: add .js path references * Rebuild package-lock.json * migrate wallet to esm/vitest * move devp2p to esm/vitest * Fix port in use errors in tests * ESM/Vitest Transition: add Trie and EVM (#2783) * Trie: tape -> vitest test transition * Trie: .js file path additions * EVM: tape -> vitest transition * EVM: .js path reference additions * Fix ethers state manager tests --------- Co-authored-by: acolytec3 <[email protected]> * Fix typo * Wrap async tests in promises so vitest waits for them to finish * Various lint fixes * VM: tape -> vitest transition (API tests) * VM: keep Blockchain/State tests on Tape for now * VM: run Blockchain/State tests on CJS dist folder * make most devp2p tests async * Vitest/ESM: VM File Path Additions and Ethash Transition (#2786) * VM: fix linting * VM: add .js path references * Ethash: tape -> vitest transition * Ethash: ad .js file path references * Wrap runBlock/runTx in describe * turn off vm browser tests in ci * Fix examples CI * Fix wallet/ethash CI work * Adjust dpt setup * Catch addpeer errors silently * Make trie/vm type module * fix vm examples * set higher timeout * revert vm module type * Fix Util tests * Etash: take timeout from script command (60000) * Etash test timeout adjustments * Etash timeout adjustment --------- Co-authored-by: acolytec3 <[email protected]> Co-authored-by: acolytec3 <[email protected]>
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.