You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to offer revm as a plugin for the devnet to be swapped in for the EVM. To do this we just need to create an adapter that uses revm under the hood to implement some subset of the ethereumjs EVM interface
This task has 4 steps
1. Add @tevm/revm-example
Create a simple example node.js or bun example using tevm in the examples folder
Note: it is expected the example won't work yet we implement it in following steps
Description
It would be useful to offer revm as a plugin for the devnet to be swapped in for the EVM. To do this we just need to create an adapter that uses revm under the hood to implement some subset of the ethereumjs EVM interface
This task has 4 steps
1. Add @tevm/revm-example
Note: it is expected the example won't work yet we implement it in following steps
2. Create the Revm adapter
This step is to wrap revm in the ethereumjs evm api. This task has substeps
The only real important method we need to implement for evm is
runCall
. But feel free to implement other methods tooWhen implement take the following shortcuts to make it much simpler
See following links
Evm
This is the current Tevm implementation)3. Add createEvm as experimental option to
@tevm/base-client
createEvm
s a typescript interface to BaseClient filecreateEvm
function iin createBaseClient4. Put it all together
The text was updated successfully, but these errors were encountered: