-
Notifications
You must be signed in to change notification settings - Fork 70
feat(l1): running localnet with client comparisions #3221
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
Conversation
Lines of code reportTotal lines added: Detailed view
|
@@ -111,6 +111,7 @@ pub async fn init_rollup_store(data_dir: &str) -> StoreRollup { | |||
} | |||
|
|||
pub fn init_blockchain(evm_engine: EvmEngine, store: Store) -> Arc<Blockchain> { | |||
info!("Initiating blockchain with EVM: {}", evm_engine); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is useful to know which evm was configured on startup as with other logs showing config at the init steps.
"[METRIC] BLOCK EXECUTION THROUGHPUT ({}): {:.2} Ggas/s TIME SPENT: {:.0} ms. Gas Used: {:.0}%, #Txs: {}.", | ||
block.header.number, | ||
throughput, | ||
interval, | ||
(block.header.gas_used as f64 / block.header.gas_limit as f64) * 100.0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small addition to show block number and gas_used% along the already shown data in this log.
Motivation
We want to be able to spin up a local network with 3 nodes, ethrex[levm], ethrex[revm] and reth an be able to compare throughput between them on different spamoor configurations.
Description
This PR add a new make target that spin-up a localnet with ethrex[levm], ethrex[revm] and reth, enable the metrics exporter, and prepare the dashboard to be able to be used in arbitrary datasources, both imported or provisioned, automatically setting a datasource variable to the default prometheus.