evm2
evm2 copied to clipboard
Use case of evm2
Super interesting project! I'm curious what will be the future use case of evm2. L3?
it started as a meme project. I did find some use cases for it, but most likely not as a top-layer. if would run on the same layer it is run on (L1 if L1, L2 if L2... L3 if L3?) but it will allow for isolating as a classic VM would do on your native OS.
imagine the contract as the host and the executed evm2 code as the guest. it will have access to whatever the host provides, which could range from full transparency (pass all opcodes to evm) to full isolation (restrict opcodes as much as possible, e.g. no SSTORE, no CALL, no SLOAD maybe...)
one potential use case could be implementing a "safe" delegatecall: perhaps you want to implement an arbitrary delegatecall but want to ensure the target contract does not do dangerous things such as SELFDESTRUCT, SSTORE to replace a proxy implementation, send out ETH or whatever else.
Safe delegatecall makes a lot of the sense. Thanks for the knowledge!
@hananbeer you mad bro. In a good way.