Skip to content

Commit

Permalink
optimism: bump gaslimit to 10 million #870 (#871)
Browse files Browse the repository at this point in the history
* 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 <me@gakonst.com>
  • Loading branch information
tynes and gakonst committed May 21, 2021
1 parent 245892b commit bf28648
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion l2geth/scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ REPO=$DIR/..
IS_VERIFIER=
ROLLUP_SYNC_SERVICE_ENABLE=true
DATADIR=$HOME/.ethereum
TARGET_GAS_LIMIT=9000000
TARGET_GAS_LIMIT=10000000
CHAIN_ID=10
ETH1_CTC_DEPLOYMENT_HEIGHT=12410807
ETH1_L1_GATEWAY_ADDRESS=0xe681F80966a8b1fFadECf8068bD6F99034791c95
Expand Down
2 changes: 1 addition & 1 deletion ops/envs/geth.env
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ IPC_DISABLE=true
NETWORK_ID=420
NO_USB=true
NO_DISCOVER=true
TARGET_GAS_LIMIT=9000000
TARGET_GAS_LIMIT=10000000
USING_OVM=true
2 changes: 1 addition & 1 deletion packages/contracts/src/state-dump/make-dump.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const makeStateDump = async (cfg: RollupDeployConfig): Promise<any> => {
deploymentSigner: signer,
ovmGasMeteringConfig: {
minTransactionGasLimit: 0,
maxTransactionGasLimit: 9_000_000,
maxTransactionGasLimit: 10_000_000,
maxGasPerQueuePerEpoch: 1_000_000_000_000,
secondsPerEpoch: 0,
},
Expand Down
4 changes: 2 additions & 2 deletions packages/contracts/tasks/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import * as types from 'hardhat/internal/core/params/argumentTypes'

const DEFAULT_L1_BLOCK_TIME_SECONDS = 15
const DEFAULT_CTC_FORCE_INCLUSION_PERIOD_SECONDS = 60 * 60 * 24 * 30 // 30 days
const DEFAULT_CTC_MAX_TRANSACTION_GAS_LIMIT = 9_000_000
const DEFAULT_CTC_MAX_TRANSACTION_GAS_LIMIT = 10_000_000
const DEFAULT_EM_MIN_TRANSACTION_GAS_LIMIT = 50_000
const DEFAULT_EM_MAX_TRANSACTION_GAS_LIMIT = 9_000_000
const DEFAULT_EM_MAX_TRANSACTION_GAS_LIMIT = 10_000_000
const DEFAULT_EM_MAX_GAS_PER_QUEUE_PER_EPOCH = 250_000_000
const DEFAULT_EM_SECONDS_PER_EPOCH = 0
const DEFAULT_EM_OVM_CHAIN_ID = 420
Expand Down
2 changes: 1 addition & 1 deletion packages/data-transport-layer/src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const SEQUENCER_GAS_LIMIT = 9_000_000 // TODO: Remove and use value from event.
export const SEQUENCER_GAS_LIMIT = 10_000_000 // TODO: Remove and use value from event.
export const SEQUENCER_ENTRYPOINT_ADDRESS =
'0x4200000000000000000000000000000000000005'

0 comments on commit bf28648

Please sign in to comment.