Crates.io | sutro |
lib.rs | sutro |
version | 0.0.1 |
source | src |
created_at | 2020-10-22 16:24:29.376003 |
updated_at | 2020-10-22 16:24:29.376003 |
description | Eye of Sutro: Ethereum State Watcher |
homepage | |
repository | https://github.com/0xProject/sutro |
max_upload_size | |
id | 304367 |
size | 431,345 |
Idea
Ethereum transactions trigger the execution of EVM contract code. The execution is deterministic and depends only on the transaction (sender, calldata, etc) and the chain state (block info, storage). Transactions can make limited changes to chain state and return a bytestring.
We are not interested in accurately computing gas consumption of transactions or transactions involving creating and destroying contracts. This massively simplifies the EVM semantics. We can also safely ignore logging as it is now redundant.
Ganache is quite slow and this prevents us from running as many tests as we would like. A fast EVM engine that can fork of an existing chain.
Debugging:
Bytes4 decode any call / return value.
Parse Solidity sourcemaps.
clear; RUST_LOG="trace,tokio=info,hyper=info,mio=info" cargo run