diff --git a/common/src/lib.rs b/common/src/lib.rs index 9f33bfaf1..4119586a9 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -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([])); diff --git a/zero_bin/prover/Cargo.toml b/zero_bin/prover/Cargo.toml index 270c6567b..c649c3e22 100644 --- a/zero_bin/prover/Cargo.toml +++ b/zero_bin/prover/Cargo.toml @@ -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", diff --git a/zero_bin/worker/Cargo.toml b/zero_bin/worker/Cargo.toml index 0e7d80d0b..7415e07f0 100644 --- a/zero_bin/worker/Cargo.toml +++ b/zero_bin/worker/Cargo.toml @@ -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", ] \ No newline at end of file