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

Vitest/ESM: VM File Path Additions and Ethash Transition #2786

Merged
merged 4 commits into from
Jun 15, 2023

Conversation

holgerd77
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Jun 15, 2023

Codecov Report

Merging #2786 (11dfdaf) into esm-part-2-5-with-tests (9961da2) will decrease coverage by 0.82%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

Flag Coverage Δ
block 89.58% <ø> (ø)
blockchain 92.52% <ø> (ø)
client 87.09% <ø> (ø)
common 97.26% <ø> (ø)
ethash ?
evm 66.60% <ø> (ø)
rlp ?
statemanager 86.35% <ø> (ø)
trie 90.08% <ø> (-0.33%) ⬇️
tx ?
util 80.44% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Contributor

@acolytec3 acolytec3 left a comment

Choose a reason for hiding this comment

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

LGTM

@acolytec3 acolytec3 merged commit a59a6ab into esm-part-2-5-with-tests Jun 15, 2023
35 of 40 checks passed
@acolytec3 acolytec3 deleted the esm-vm-file-path-additions branch June 15, 2023 13:53
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 <17355484+acolytec3@users.noreply.github.com>

* 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 <17355484+acolytec3@users.noreply.github.com>
Co-authored-by: acolytec3 <konjou@gmail.com>
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.

2 participants