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

EVM in the state machine? #546

Open
zach-is-my-name opened this issue Nov 13, 2019 · 0 comments
Open

EVM in the state machine? #546

zach-is-my-name opened this issue Nov 13, 2019 · 0 comments

Comments

@zach-is-my-name
Copy link

zach-is-my-name commented Nov 13, 2019

Wonderful wonderful proof of concept I'm so happy... obviously the WORLD wants rollup to be generalized, and we won't be doing bespoke things forever

I'm really hoping to get an understanding of the challenges / modifications necessary to run an EVM for aggregaters and validaters before I attempt to contribute

Some things I'm thinking about

  • Can gas and rollup co-exist?
    On the user and implementation side it could be an annoyance or distraction.
    But on the aggregator side it could be a way to benchmark fees (or not)
  • Could it be this easy?
    This gives you a state root: psm.getStateRoot()ethereumjs-vm/example

applyTransaction() in rollup-state-machine.ts
similarly calculates a state root...

There just seems to be a lot of overlap but I know there's a few gotchas I'm overlooking...

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

No branches or pull requests

1 participant