Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
fix(zkevm-circuits/stats): add SigTable
Browse files Browse the repository at this point in the history
  • Loading branch information
ed255 committed Feb 19, 2024
1 parent 4fe16a0 commit 7020216
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion zkevm-circuits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ test-circuits = []
# Test utilities for testool crate to consume
test-util = ["dep:mock"]
warn-unimplemented = ["eth-types/warn-unimplemented"]
stats = ["warn-unimplemented", "dep:cli-table", "test-util", "test-circuits"]
stats = ["warn-unimplemented", "dep:cli-table", "test-util", "test-circuits", "mock-challenge"]
mock-challenge = []

[[bin]]
Expand Down
7 changes: 5 additions & 2 deletions zkevm-circuits/src/bin/stats/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ use zkevm_circuits::{
pi_circuit::{PiCircuitConfig, PiCircuitConfigArgs},
state_circuit::{StateCircuitConfig, StateCircuitConfigArgs},
table::{
BlockTable, BytecodeTable, CopyTable, ExpTable, KeccakTable, MptTable, RwTable, TxTable,
UXTable, WdTable,
BlockTable, BytecodeTable, CopyTable, ExpTable, KeccakTable, MptTable, RwTable, SigTable,
TxTable, UXTable, WdTable,
},
tx_circuit::{TxCircuitConfig, TxCircuitConfigArgs},
util::{Challenges, SubCircuitConfig},
Expand Down Expand Up @@ -257,6 +257,8 @@ fn record_stats<F: eth_types::Field>(
stats.record_shared("exp_table", meta);
let keccak_table = KeccakTable::construct(meta);
stats.record_shared("keccak_table", meta);
let sig_table = SigTable::construct(meta);
stats.record_shared("sig_table", meta);
let u8_table = UXTable::construct(meta);
stats.record_shared("u8_table", meta);
let u10_table = UXTable::construct(meta);
Expand Down Expand Up @@ -354,6 +356,7 @@ fn record_stats<F: eth_types::Field>(
exp_table,
u8_table,
u16_table,
sig_table,
feature_config,
},
);
Expand Down

0 comments on commit 7020216

Please sign in to comment.