Skip to content

Commit

Permalink
fix and polish some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
JereSalo committed Dec 27, 2024
1 parent 33476f9 commit 446313a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ levm_ef_tests_summary_github.txt
levm_ef_tests_summary.txt

results.md
loc_report
loc_report.md
loc_report_slack.txt
loc_report_github.txt
loc_report.json
Expand Down
4 changes: 1 addition & 3 deletions cmd/ethrex/ethrex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,7 @@ fn import_blocks(store: &Store, blocks: &Vec<Block>) {
}
if let Some(last_block) = blocks.last() {
let hash = last_block.hash();
if apply_fork_choice(store, hash, hash, hash).is_err() {
println!("Error ocurred when trying to add blocks.");
};
let _ = apply_fork_choice(store, hash, hash, hash);
}
info!("Added {} blocks to blockchain", size);
}
2 changes: 1 addition & 1 deletion crates/blockchain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ path = "./blockchain.rs"

[features]
default = ["c-kzg"]
default-levm = ["c-kzg", "levm"]
default-levm = ["default", "levm"]
libmdbx = [
"ethrex-core/libmdbx",
"ethrex-storage/default",
Expand Down
2 changes: 1 addition & 1 deletion crates/vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ path = "./vm.rs"

[features]
default = ["c-kzg", "blst"]
default-levm = ["c-kzg", "blst", "levm"]
default-levm = ["default", "levm"]
l2 = []
c-kzg = ["revm/c-kzg"]
blst = ["revm/blst"]
Expand Down

0 comments on commit 446313a

Please sign in to comment.