Skip to content

Commit

Permalink
Merge branch 'nightly' into blaze/evm_mod_dock
Browse files Browse the repository at this point in the history
  • Loading branch information
bkolad committed Sep 25, 2023
2 parents a6087b4 + ca7d47b commit b673da8
Show file tree
Hide file tree
Showing 5 changed files with 279 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/demo-stf/src/genesis_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ fn get_evm_config(genesis_addresses: Vec<reth_primitives::Address>) -> EvmConfig
chain_id: 1,
limit_contract_code_size: None,
spec: vec![(0, SpecId::SHANGHAI)].into_iter().collect(),
block_timestamp_delta: 1u64,
..Default::default()
}
}
Expand Down
3 changes: 2 additions & 1 deletion module-system/module-implementations/sov-evm/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ impl<C: sov_modules_api::Context> Evm<C> {
};

// Build rpc block response
let total_difficulty = Some(block.header.difficulty);
let block = reth_rpc_types::Block {
header,
total_difficulty: Default::default(),
total_difficulty,
uncles: Default::default(),
transactions,
size: Default::default(),
Expand Down
8 changes: 8 additions & 0 deletions scripts/blockscout/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
DATABASE_URL="postgresql://postgres:foobar@localhost:5432/blockscout"
ETHEREUM_JSONRPC_HTTP_URL="http://127.0.0.1:12345"
ETHEREUM_JSONRPC_VARIANT="ganache"
COIN="sovereign"
MIX_ENV="dev"
MICROSERVICE_SC_VERIFIER_URL="http://0.0.0.0:8050/"
DISABLE_INDEXER="false"
LOG_LEVEL="trace"
1 change: 1 addition & 0 deletions scripts/retesteth/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`config.json` is the WIP configuration file for using `retesteth` with `sov-evm`. It's based on the configuration options of `evmone` and must be extensively updated to work with `sov-evm`, it's broken as of now. Nonetheless, it's committed into version control to share progress across `sov-evm` maintainers.
Loading

0 comments on commit b673da8

Please sign in to comment.