Skip to content

Commit 1ea5c44

Browse files
tynesgakonst
andcommitted
optimism: bump gaslimit to 10 million #870 (#871)
* optimism: bump gaslimit to 10million * chore: add changeset * optimism: bump max gaslimit to 10 mil * chore: add changeset * chore: remove unnecessary changeset * chore: remove unnecessary changeset Co-authored-by: Georgios Konstantopoulos <[email protected]>
1 parent c0b0073 commit 1ea5c44

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

l2geth/scripts/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ REPO=$DIR/..
66
IS_VERIFIER=
77
ROLLUP_SYNC_SERVICE_ENABLE=true
88
DATADIR=$HOME/.ethereum
9-
TARGET_GAS_LIMIT=9000000
9+
TARGET_GAS_LIMIT=10000000
1010
CHAIN_ID=10
1111
ETH1_CTC_DEPLOYMENT_HEIGHT=12410807
1212
ETH1_L1_GATEWAY_ADDRESS=0xe681F80966a8b1fFadECf8068bD6F99034791c95

ops/envs/geth.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ IPC_DISABLE=true
3333
NETWORK_ID=420
3434
NO_USB=true
3535
NO_DISCOVER=true
36-
TARGET_GAS_LIMIT=9000000
36+
TARGET_GAS_LIMIT=10000000
3737
USING_OVM=true

packages/contracts/src/state-dump/make-dump.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const makeStateDump = async (cfg: RollupDeployConfig): Promise<any> => {
101101
deploymentSigner: signer,
102102
ovmGasMeteringConfig: {
103103
minTransactionGasLimit: 0,
104-
maxTransactionGasLimit: 9_000_000,
104+
maxTransactionGasLimit: 10_000_000,
105105
maxGasPerQueuePerEpoch: 1_000_000_000_000,
106106
secondsPerEpoch: 0,
107107
},

packages/contracts/tasks/deploy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import * as types from 'hardhat/internal/core/params/argumentTypes'
55

66
const DEFAULT_L1_BLOCK_TIME_SECONDS = 15
77
const DEFAULT_CTC_FORCE_INCLUSION_PERIOD_SECONDS = 60 * 60 * 24 * 30 // 30 days
8-
const DEFAULT_CTC_MAX_TRANSACTION_GAS_LIMIT = 9_000_000
8+
const DEFAULT_CTC_MAX_TRANSACTION_GAS_LIMIT = 10_000_000
99
const DEFAULT_EM_MIN_TRANSACTION_GAS_LIMIT = 50_000
10-
const DEFAULT_EM_MAX_TRANSACTION_GAS_LIMIT = 9_000_000
10+
const DEFAULT_EM_MAX_TRANSACTION_GAS_LIMIT = 10_000_000
1111
const DEFAULT_EM_MAX_GAS_PER_QUEUE_PER_EPOCH = 250_000_000
1212
const DEFAULT_EM_SECONDS_PER_EPOCH = 0
1313
const DEFAULT_EM_OVM_CHAIN_ID = 420
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export const SEQUENCER_GAS_LIMIT = 9_000_000 // TODO: Remove and use value from event.
1+
export const SEQUENCER_GAS_LIMIT = 10_000_000 // TODO: Remove and use value from event.
22
export const SEQUENCER_ENTRYPOINT_ADDRESS =
33
'0x4200000000000000000000000000000000000005'

0 commit comments

Comments
 (0)