-
Notifications
You must be signed in to change notification settings - Fork 848
Add README Package Highlights #4020
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a46b988
Add README highlights (VM)
holgerd77 8301eb1
Add README highlights (EVM)
holgerd77 99c5b88
Add README highlights (tx)
holgerd77 eccce78
Add README highlights (block)
holgerd77 3cf7ba6
Add README highlights (mpt)
holgerd77 461907a
Add README highlights (statemanager)
holgerd77 a2d0476
VM bundle size update
holgerd77 c20a901
Update packages/block/README.md
am1r021 2a35e3b
Update packages/evm/README.md
am1r021 4f34f7a
Update packages/mpt/README.md
am1r021 5046648
Update packages/statemanager/README.md
am1r021 3a870af
Update packages/tx/README.md
am1r021 b087140
Update packages/vm/README.md
am1r021 3666cc2
Merge branch 'master' into add-readme-package-highlights
holgerd77 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,14 +9,19 @@ | |
| | Execution Context for the Ethereum EVM Implementation. | | ||
| | ------------------------------------------------------ | | ||
|
|
||
| This package provides an Ethereum `mainnet` compatible execution context for the | ||
| Ethereum `mainnet` compatible execution context for | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it important to say |
||
| [@ethereumjs/evm](https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/evm) | ||
| EVM implementation. | ||
|
|
||
| So beyond bytecode processing this package allows to run or build new Ethereum blocks or single transactions | ||
| and update a blockchain state accordingly. | ||
|
|
||
| Note that up till `v5` this package also was the bundled package for the EVM implementation itself. | ||
| to build and run blocks and txs and update state. | ||
|
|
||
| - 🦄 All hardforks up till **Pectra** | ||
| - 🌴 Tree-shakeable API | ||
| - 👷🏼 Controlled dependency set (7 external + `@Noble` crypto) | ||
| - 🧩 Flexible EIP on/off engine | ||
| - 📲 **EIP-7702** ready | ||
| - 📬 Flexible state retrieval (Merkle, RPC,...) | ||
| - 🔎 Passes official #Ethereum tests | ||
| - 🛵 668KB bundle size (170KB gzipped) | ||
| - 🏄🏾♂️ WASM-free default + Fully browser ready | ||
|
|
||
| ## Table of Contents | ||
|
|
||
|
|
||
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.
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.
Ok, this is fine, but for every PR which we will merge in any of these packages these numbers will likely be incorrect. (Just an informational note. Should we update it for each release to reflect the bundle size?)
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.
I think we could also consider not including the size here in the docs. There are bundle size tools for this (https://bundlephobia.com/package/@ethereumjs/block@5.3.0)
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.
I think it is super important to keep and brings great additional value if we do this (Paul is doing as well). This does not need to be "on point" by KB but gives users strong guidance if they can (bundle size is ok for them, just ballpark number) or cannot (bundle size far too high) use our libraries.