Skip to content

Commit

Permalink
chore: small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Jul 16, 2024
1 parent 5e3db9e commit 6ca40c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bolt-sidecar/src/state/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,14 @@ pub struct ExecutionState<C> {
pub struct Constants {
block_gas_limit: u64,
max_tx_input_bytes: usize,
#[allow(unused)]
max_init_code_byte_size: usize,
}

impl Default for Constants {
fn default() -> Self {
Self {
block_gas_limit: 30_000_000,
max_tx_input_bytes: 4 * 32 * 1024, // 128kb
max_tx_input_bytes: 4 * 32 * 1024,
max_init_code_byte_size: 2 * 24576,
}
}
Expand Down

0 comments on commit 6ca40c5

Please sign in to comment.