-
Notifications
You must be signed in to change notification settings - Fork 758
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
VM/EVM: Update and align README Documentation #2016
Conversation
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. |
Ok, this is now ready for review. 🙂 |
(note that it likely makes sense to primarily (or at least: additionally) directly take a peek in the resulting EVM README and VM README files instead of comparing the diffs in this PR) |
7702b25
to
c0156f2
Compare
Will admin-merge here since people are already getting confused by the state of the READMEs and submit unnecessary PRs, see #2023. It would still be good if someone can give this a read. |
LGTM! 🚀 |
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
I edited one sentence for an editing mistake, but very minor.
|
||
### Clique/PoA Chains | ||
To ensure a unified interface the `EVM` provides a TypeScript `EEI` interface providing which includes the necessary function signatures for access to environmental parameters as well as the VM state. |
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.
To ensure a unified interface the EVM
provides a TypeScript EEI
interface which includes the necessary function signatures for access to environmental parameters as well as the VM state.
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.
Thanks, have added these tasks to the newly revived "Tiny Fixes Meta Issue" issue #2032 🙂, since otherwise too small left-overs to address separately.
const common = new Common({ chain: Chain.Goerli }) | ||
const hardforkByBlockNumber = true | ||
const vm = new VM({ common, hardforkByBlockNumber }) | ||
To build the EVM for standalone use in the browser, see: [Running the EVM in a browser](https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/evm/examples/run-code-browser.js). |
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.
This does not currently work, no?
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.
Yeah, you're right, we should give a short mention.
WIP, will continue tomorrow on this.