Skip to content

Commit

Permalink
Add missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashtare committed Sep 11, 2024
1 parent 29ef310 commit 6f20d15
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ pub const EMPTY_TRIE_HASH: H256 = H256([
108, 173, 192, 1, 98, 47, 181, 227, 99, 180, 33,
]);

pub const NETWORK_ERR_MSG: &str = "One and only one of the feature chains `cdk_erigon`, `polygon_pos` or `eth_mainnet` must be selected";

#[test]
fn test_empty_code_hash() {
assert_eq!(EMPTY_CODE_HASH, keccak_hash::keccak([]));
Expand Down
3 changes: 3 additions & 0 deletions zero_bin/prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,21 @@ zero_bin_common = { workspace = true }
default = ["eth_mainnet"]
eth_mainnet = [
"evm_arithmetization/eth_mainnet",
"ops/eth_mainnet",
"proof_gen/eth_mainnet",
"trace_decoder/eth_mainnet",
"zero_bin_common/eth_mainnet",
]
cdk_erigon = [
"evm_arithmetization/cdk_erigon",
"ops/cdk_erigon",
"proof_gen/cdk_erigon",
"trace_decoder/cdk_erigon",
"zero_bin_common/cdk_erigon",
]
polygon_pos = [
"evm_arithmetization/polygon_pos",
"ops/polygon_pos",
"proof_gen/polygon_pos",
"trace_decoder/polygon_pos",
"zero_bin_common/polygon_pos",
Expand Down
4 changes: 4 additions & 0 deletions zero_bin/worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,8 @@ eth_mainnet = [
cdk_erigon = [
"ops/cdk_erigon",
"zero_bin_common/cdk_erigon",
]
polygon_pos = [
"ops/polygon_pos",
"zero_bin_common/polygon_pos",
]

0 comments on commit 6f20d15

Please sign in to comment.