The Wayback Machine - https://web.archive.org/web/20220321225107/https://github.com/ethereumjs/ethereumjs-monorepo
Skip to content
master
Switch branches/tags
Code

Latest commit

* Client: added hardfork changed note on chain HF update (with dedicated Merge note)

* Client: added logger attention API, HF attention notes on non-merge HFs and the Merge

* Client: added basic connection status notification to Engine API

* Client: added consensus client connection check to Engine API, clear connection status indicator

* Client: added regular Engine API paylod and forkchoice logging

* refactor out to CLConnectionManager, add Event.CLIENT_SHUTDOWN to clear intervals

* some refactor to logging.ts to make it easier to read

* use hardforkTD(Hardfork.Merge) rather than hardforks().find ... thanks for the tip @holgerd77!

* fix race condition on transition block by using hardforkByTD in Block constructor opts

* add ConnectionStatus.Lost to update `[ CL ? ]` -> `[ CL ]` when re-established

* adjust / improve log intervals

* fix td remaining comparison

* fix file name

* improve readability

* remove superflous word (`with` in `with txs=num`)

* set attentionHF when within 10% of ttd

* move client shutdown to client class

* nits, silent invalid tx logger error

* start CLConnectionManager once we hit PreMerge (should fix hanging), emit shutdown event in integration tests

* last fix

Co-authored-by: Ryan Ghods <[email protected]>
5c25698

Git stats

Files

Permalink
Failed to load latest commit information.

EthereumJS Monorepo

Code Coverage Discord

This was originally the EthereumJS VM repository. In Q1 2020 we brought some of its building blocks together to simplify development. Below you can find the packages included in this repository.

🚧 Please note that the master branch is updated on a daily basis, and to inspect code related to a specific package version, refer to the tags.

package npm issues tests coverage
@ethereumjs/block NPM Package Block Issues Actions Status Code Coverage
@ethereumjs/blockchain NPM Package Blockchain Issues Actions Status Code Coverage
@ethereumjs/client NPM Package Client Issues Actions Status Code Coverage
@ethereumjs/common NPM Package Common Issues Actions Status Code Coverage
@ethereumjs/devp2p NPM Package Devp2p Issues Actions Status Code Coverage
@ethereumjs/ethash NPM Package Ethash Issues Actions Status Code Coverage
merkle-patricia-tree NPM Package Trie Issues Actions Status Code Coverage
rlp NPM Package rlp Issues Actions Status Code Coverage
@ethereumjs/tx NPM Package Tx Issues Actions Status Code Coverage
ethereumjs-util NPM Package Util Issues Actions Status Code Coverage
@ethereumjs/vm NPM Package VM Issues Actions Status Code Coverage

Coverage report

Detailed version can be seen on Codecov.io

Code Coverage

Package dependency relationship

 graph TD
   vm{vm}
   client{client}
   ethash --&gt; blockchain
   devp2p --&gt; client
   block --&gt; blockchain
   block --&gt; client
   block --&gt; vm
   blockchain --&gt; client
   blockchain --&gt; vm
   trie --&gt; client
   trie --&gt; vm
   trie --&gt; block
   common --&gt; block
   common --&gt; blockchain
   common --&gt; tx
   common --&gt; vm
   common --&gt; client
   common --&gt; devp2p
   tx --&gt; block
   tx --&gt; vm
   vm --&gt; client

To update the diagram above edit the README file and open a new PR with the changes.

Getting Started

See our monorepo documentation to get started on setting up the repository and installing dependencies. The config folder gives an overview on shared configuration and scripts between packages.

EthereumJS

See our organizational documentation for an introduction to EthereumJS as well as information on current standards and best practices.

If you want to join for work or do improvements on the libraries have a look at our contribution guidelines.

LICENSE

Most packages are MPL-2.0 licensed, see package folder for the respective license.