zksync_system_constants 0.1.0

ZKsync system constants
Documentation
1
2
3
4
5
6
7
8
9
10
pub const ZKPORTER_IS_AVAILABLE: bool = false;

/// Depth of the account tree.
pub const ROOT_TREE_DEPTH: usize = 256;

pub const MAX_NEW_FACTORY_DEPS: usize = 32;

/// To avoid DDoS we limit the size of the transactions size.
/// TODO(X): remove this as a constant and introduce a config.
pub const MAX_ENCODED_TX_SIZE: usize = 1 << 24;