feat[contracts]: add ability to pause EM during upgrades#892
feat[contracts]: add ability to pause EM during upgrades#892smartcontracts merged 4 commits intoregenesis/0.4.0from
Conversation
|
Codecov Report
@@ Coverage Diff @@
## regenesis/0.4.0 #892 +/- ##
===================================================
- Coverage 85.76% 85.59% -0.17%
===================================================
Files 51 52 +1
Lines 1967 1986 +19
Branches 317 320 +3
===================================================
+ Hits 1687 1700 +13
- Misses 280 286 +6
Continue to review full report at Codecov.
|
|
|
|
This needs to re-target |
ffc9eb7 to
d75d3da
Compare
ben-chain
left a comment
There was a problem hiding this comment.
I think this could be shipped as-is, but left a couple notes for consideration. 👍
packages/contracts/contracts/optimistic-ethereum/OVM/execution/OVM_ExecutionManager.sol
Outdated
Show resolved
Hide resolved
packages/contracts/test/contracts/OVM/execution/OVM_ExecutionManager.gas-spec.ts
Outdated
Show resolved
Hide resolved
packages/contracts/contracts/optimistic-ethereum/OVM/execution/OVM_ExecutionManager.sol
Outdated
Show resolved
Hide resolved
68e161a to
4866d7b
Compare
d75d3da to
9a1bd5a
Compare
|
Rebased on top of |
maurelian
left a comment
There was a problem hiding this comment.
I don't think I made any comments that necessitate changes, but think they should be considered before merging.
packages/contracts/contracts/optimistic-ethereum/OVM/execution/OVM_ExecutionManager.sol
Show resolved
Hide resolved
packages/contracts/test/contracts/OVM/execution/OVM_ExecutionManager.gas-spec.ts
Outdated
Show resolved
Hide resolved
packages/contracts/contracts/optimistic-ethereum/OVM/execution/OVM_ExecutionManager.sol
Show resolved
Hide resolved
packages/contracts/contracts/optimistic-ethereum/OVM/execution/OVM_ExecutionManager.sol
Outdated
Show resolved
Hide resolved
maurelian
left a comment
There was a problem hiding this comment.
Thanks for the additional comments. LGTM.
* wip: start work on pausing em during upgrade * fix: execution manager gas test * test: add tests for deployer fallback * add some additional comments
* wip: start work on pausing em during upgrade * fix: execution manager gas test * test: add tests for deployer fallback * add some additional comments
…timism#892) * wip: start work on pausing em during upgrade * fix: execution manager gas test * test: add tests for deployer fallback * add some additional comments
Description
Adds a flag that will cause the EM to redirect all transactions to the
L2ChugSplashDeployerwhile an upgrade is active. Makes sure that we won't have any weird behavior while an upgrade is in progress.