rust-ethereum / evm

Pure Rust implementation of Ethereum Virtual Machine
Apache License 2.0
1.16k stars 355 forks source link

How to make EVM run initial bytecode to return initial storage slots. #268

Open Roaring30s opened 8 months ago

Roaring30s commented 8 months ago

I have this gist showing how I am using EVM to run bytecode with pre-established storage slots.

https://gist.github.com/Roaring30s/6533bd2152379c8def5d2526b5e4885f

I want to know how to run the code that way it can take bytecode with constructor data and show the storage slots.

Thanks!