- 04 Jan, 2023 1 commit
-
-
Mark Tyneway authored
Update the migrated withdrawals to be version 0 based on the new scheme that is introduced in https://github.com/ethereum-optimism/optimism/pull/4562. This is a safety measure to ensure that withdrawals cannot be double withdrawn and that ether stuck in the L1xdm cannot be stolen in the case of a withdrawal with value reverting.
-
- 03 Jan, 2023 9 commits
-
-
Matthew Slipper authored
-
Matthew Slipper authored
-
Matthew Slipper authored
-
Matthew Slipper authored
-
Matthew Slipper authored
-
mergify[bot] authored
contracts-bedrock: deterministic storage
-
Matthew Slipper authored
-
Matthew Slipper authored
-
Mark Tyneway authored
Makes the storage slot deterministic for the unsafe block signer. This is useful because the `op-node` uses a storage proof to fetch the value, so the `op-node` can compute the storage slot value locally. This decouples the way that `solc` lays out storage from the network policy, making bugs less likely to happen when changing the contracts.
-
- 25 Dec, 2022 1 commit
-
-
Maurelian authored
* bmon: Detect at warning and danger level balances * bmon: Simplify by reducing to a single threshold * bmon: Set amounts in eth rather than wei * bmon: Add ops genie alert creation * bmon: Add ops genie heartbeat * bmon: Prep for goerli
-
- 24 Dec, 2022 8 commits
-
-
mergify[bot] authored
op-e2e: action-test extended time without batches in L1 blocks
-
mergify[bot] authored
-
mergify[bot] authored
op-e2e: action test derivation with flaky L1 RPC
-
mergify[bot] authored
-
mergify[bot] authored
op-node: allow sequencer to produce block with txs at sequencer time drift boundary
-
mergify[bot] authored
-
mergify[bot] authored
bmon: Add basic alerting logic
-
mergify[bot] authored
-
- 23 Dec, 2022 21 commits
-
-
clabby authored
-
protolambda authored
op-node: allow sequencer to produce block with txs at sequencer time drift boundary to match derivation behavior
-
mergify[bot] authored
-
Maurelian authored
-
mergify[bot] authored
feat(ctb): deploy drippie to Goerli
-
mergify[bot] authored
-
protolambda authored
-
protolambda authored
-
Matthew Slipper authored
-
Matthew Slipper authored
-
Matthew Slipper authored
-
Matthew Slipper authored
-
Matthew Slipper authored
-
smartcontracts authored
Breaks out the SystemDictator steps into two files so that the steps that get executed before the system is shut down can easily be separated from the steps that executed after the system gets spun back up. Idea here is that you would execute with the tag "steps1", wait for the legacy system to come down, migrate the L2, then execute with the tags "steps2" to complete the upgrade.
-
protolambda authored
* op-node,op-e2e: optimize receipts fetching by supporting different kinds of rpc providers and receipts-fetching method alternatives * op-node: rpc provider kinds / fetching methods review fixes * op-e2e: add missing arg - fix lint
-
Matthew Slipper authored
* op-chain-ops: Fix state migration, add post-checks This PR fixes a bug in `op-chain-ops` that could cause state to become erroneously erased during the L2 migration. While testing the Goerli migration in check mode, I encountered an issue where `db.GetState` was returning null storage slots for the legacy message passer during the withdrawals portion of the migration. Upon further inspection, I discovered that we were using `db.CreateAccount` in the `setProxies` method. `db.CreateAccount` will erase the state associated with the passed-in address, so I updated `setProxies` to check if the account exists first. I also added a map of predeploys that should _not_ be touched as part of the migration process at all. At the end of the migration process, I iterate over these "untouchable" contracts and make sure that their code matches a preset list of code hashes and sample up to 5,000 storage slots before and after the migration to make sure the match. Additionally, I found a bug in the witness generation data within `l2geth`. The witness generation code for the message passer does not take reverts into account. There's no easy way to do this, since we don't have access to the call frame in which the revert occurred. To work around this, I added the ability to ignore reverted storage slots in the `ParamsByChainId` structure. Lastly, I made a few miscellaneous changes to improve our confidence in the migration script: - I added checks to the OVM ETH migration to ensure that state slots are properly preserved. - I added a read cache to the underlying state DB so that repeated read calls are faster. I have verified that this migration script works end-to-end with check mode enabled against a forked Goerli L1. * Add hash checking in addition to sampling
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
bmon: Fix linter issues
-