8000 refactor: custom VM support by Dhruv-2003 · Pull Request #621 · a16z/helios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor: custom VM support #621

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Dhruv-2003
Copy link
Contributor

closes #406

Description

This PR adds new method on the network_spec: transact that basically replays/process a tx in a VM. This changes decoup 8000 les the execution from the generic EVM interface, allowing each network to define its own EVM implementation.

Note

  • execution_provider was moved to common crate from core, for use within network_spec
  • Evm implementation added on the specific network, is a modified version of old evm.rs, now including tx_env and block_env method for that network. Minimal code repetition approach followed, but still scope of improvement if we are able to implement ProofDB properly.

Old PRs closed due to major codebase refactoring #597 #502

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: better evm handling
1 participant
0