From 0e006c713b633cc8c482f62bc51ea33b147a2d0c Mon Sep 17 00:00:00 2001 From: Mark Tyneway Date: Thu, 13 May 2021 14:14:10 -0700 Subject: [PATCH 1/6] optimism: bump gaslimit to 10million --- ops/envs/geth.env | 2 +- packages/contracts/src/contract-dumps.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ops/envs/geth.env b/ops/envs/geth.env index b9c9dce5e904..a9a5e08efad0 100644 --- a/ops/envs/geth.env +++ b/ops/envs/geth.env @@ -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 diff --git a/packages/contracts/src/contract-dumps.ts b/packages/contracts/src/contract-dumps.ts index 4d0fb03b6ffa..8023487c5bb8 100644 --- a/packages/contracts/src/contract-dumps.ts +++ b/packages/contracts/src/contract-dumps.ts @@ -115,7 +115,7 @@ export const makeStateDump = async (cfg: RollupDeployConfig): Promise => { deploymentSigner: signer, ovmGasMeteringConfig: { minTransactionGasLimit: 0, - maxTransactionGasLimit: 9_000_000, + maxTransactionGasLimit: 10_000_000, maxGasPerQueuePerEpoch: 1_000_000_000_000, secondsPerEpoch: 0, }, From 74f409410600076d876319416a702458cd7b7913 Mon Sep 17 00:00:00 2001 From: Mark Tyneway Date: Thu, 13 May 2021 14:36:51 -0700 Subject: [PATCH 2/6] chore: add changeset --- .changeset/rich-pandas-fly.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/rich-pandas-fly.md diff --git a/.changeset/rich-pandas-fly.md b/.changeset/rich-pandas-fly.md new file mode 100644 index 000000000000..0ce189b9d945 --- /dev/null +++ b/.changeset/rich-pandas-fly.md @@ -0,0 +1,5 @@ +--- +'@eth-optimism/l2geth': patch +--- + +Bump the protocol level `gasLimit` for a single transaction to 10 million From 4b7a662063f97640f159ea608c1ac175f67823b5 Mon Sep 17 00:00:00 2001 From: Mark Tyneway Date: Mon, 17 May 2021 10:22:19 -0700 Subject: [PATCH 3/6] optimism: bump max gaslimit to 10 mil --- l2geth/scripts/start.sh | 2 +- packages/contracts/tasks/deploy.ts | 4 ++-- packages/data-transport-layer/src/utils/constants.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/l2geth/scripts/start.sh b/l2geth/scripts/start.sh index 7dca8ce9aa5b..40dfc6b702c9 100755 --- a/l2geth/scripts/start.sh +++ b/l2geth/scripts/start.sh @@ -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 diff --git a/packages/contracts/tasks/deploy.ts b/packages/contracts/tasks/deploy.ts index 35d2e041b692..4e28e199b736 100644 --- a/packages/contracts/tasks/deploy.ts +++ b/packages/contracts/tasks/deploy.ts @@ -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 diff --git a/packages/data-transport-layer/src/utils/constants.ts b/packages/data-transport-layer/src/utils/constants.ts index 39c6a2ec8053..b7655cc638fa 100644 --- a/packages/data-transport-layer/src/utils/constants.ts +++ b/packages/data-transport-layer/src/utils/constants.ts @@ -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' From aa58f6afa318f8d7a0496d50ec725973a213a125 Mon Sep 17 00:00:00 2001 From: Mark Tyneway Date: Mon, 17 May 2021 10:23:33 -0700 Subject: [PATCH 4/6] chore: add changeset --- .changeset/tall-lemons-think.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changeset/tall-lemons-think.md diff --git a/.changeset/tall-lemons-think.md b/.changeset/tall-lemons-think.md new file mode 100644 index 000000000000..7ffeaa83ddf0 --- /dev/null +++ b/.changeset/tall-lemons-think.md @@ -0,0 +1,7 @@ +--- +'@eth-optimism/l2geth': minor +'@eth-optimism/contracts': minor +'@eth-optimism/data-transport-layer': minor +--- + +Bump the mas gaslimit by a transaction to 10 million From b906b8f138e59165412d061a717d4a330b90cf0f Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Wed, 19 May 2021 10:35:21 +0300 Subject: [PATCH 5/6] chore: remove unnecessary changeset --- .changeset/rich-pandas-fly.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .changeset/rich-pandas-fly.md diff --git a/.changeset/rich-pandas-fly.md b/.changeset/rich-pandas-fly.md deleted file mode 100644 index 0ce189b9d945..000000000000 --- a/.changeset/rich-pandas-fly.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@eth-optimism/l2geth': patch ---- - -Bump the protocol level `gasLimit` for a single transaction to 10 million From 51e92cc5157f1ff38a4e30bcd764ff755152e5d0 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Wed, 19 May 2021 10:35:44 +0300 Subject: [PATCH 6/6] chore: remove unnecessary changeset --- .changeset/tall-lemons-think.md | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .changeset/tall-lemons-think.md diff --git a/.changeset/tall-lemons-think.md b/.changeset/tall-lemons-think.md deleted file mode 100644 index 7ffeaa83ddf0..000000000000 --- a/.changeset/tall-lemons-think.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@eth-optimism/l2geth': minor -'@eth-optimism/contracts': minor -'@eth-optimism/data-transport-layer': minor ---- - -Bump the mas gaslimit by a transaction to 10 million