- 10 Sep, 2022 30 commits
-
-
protolambda authored
* op-node: sync start update func signature, port over tests from safe-head-fix pr * op-node: sync start now starts with current heads by label * op-node: single loop find-heads * op-node: sync - clean up go doc * op-node: use sync fn in engine queue * op-node: fix engine queue finalization test * op-node: sync off-by-one fix * op-node: fix highest l2 block with canon origin, need to reset when l1 reorg * op-node: handle non-standard safe/finalized not found errors * op-node: sync start review fixes / comment typos * op-node: seq window size check with l1 origin, update engine queue test with extra l1 origin, now that off by 1 fix applies properly to chains with multiple L2 blocks per L1 block * op-node: start from parent block before seq nr 0 * Update op-node/rollup/sync/start.go Co-authored-by:
Joshua Gutow <jgutow@optimism.io> * review fixes * fix lint Co-authored-by:
Joshua Gutow <jgutow@optimism.io> Co-authored-by:
Matthew Slipper <me@matthewslipper.com>
-
Mark Tyneway authored
feat(ctb): tweak XDM storage layout
-
Kelvin Fichter authored
Tweaks the storage layout of the CrossDomainMessenger base contract to reduce the number of changes with the existing system. The L1CrossDomainMessenger has no storage diff after this PR.
-
smartcontracts authored
feat(ctb): make StandardBridge vars immutable
-
Mark Tyneway authored
chore: Upgrade foundry
-
Kelvin Fichter authored
Updates the StandardBridge to use immutable variables instead of state variables. Primary reason for this change is to guarantee that the storage layout will not be a problem during the upgrade. Plus, there's really no reason why these variables shouldn't be immutable.
-
protolambda authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Matthew Slipper authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
protolambda authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Matthew Slipper authored
* op-node: Add heartbeater * Update op-node/heartbeat/service.go Co-authored-by:
Joshua Gutow <jgutow@optimism.io> * imports Co-authored-by:
Joshua Gutow <jgutow@optimism.io>
-
Mark Tyneway authored
Use `hardhat compile` so that it ensures that the artifacts used by the generator are up to date
-
Mark Tyneway authored
Moves the `GovernanceToken` into `contracts-bedrock` so that its artifact can be easily inspected. This is the first step in deleting `contracts-governance`. The other files should be moved to `contracts-periphery`.
-
Mark Tyneway authored
Every L2 predeploy that has `Semver` must be built so that it's immutables are handled, even though they are hardcoded in the bytecode. Co-authored-by:
Matthew Slipper <me@matthewslipper.com>
-
Mark Tyneway authored
fix(ci): properly publish hardhat-node
-
Mark Tyneway authored
l2geth: add block tag to `eth_estimateGas`
-
Mark Tyneway authored
Fix: expired Discord link
-
Mark Tyneway authored
-
Matthew Slipper authored
* op-node: Add additional command to generate L2 configs This command will be used in bedrock-regentool to replace the old hardhat scripts. * fix linter
-
Mark Tyneway authored
-
Matthew Slipper authored
Release op-* v0.8.6
-
Matthew Slipper authored
-
Matthew Slipper authored
-
Matthew Slipper authored
-
Matthew Slipper authored
-
Matthew Slipper authored
-
Matthew Slipper authored
* op-chain-ops: Allow configurable dev accounts * Set difficulty to zero * Add tests
-
Matthew Slipper authored
* chore: Upgrade op-geth * Add forgotten params * Update chain ops
-
Mark Tyneway authored
Copies the implementation from upstream https://github.com/ethereum/go-ethereum/blob/389021a5afd01147c851870c693ded8760e6a08c/internal/ethapi/api.go#L1149
-
Maurelian authored
-
smartcontracts authored
MetaMask requested that we use ethers submodules instead of importing the entire ethers package. Relatively straightforward change. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 09 Sep, 2022 8 commits
-
-
smartcontracts authored
Fixes two contracts in contracts-periphery to use the correct import paths. Also modifies the contracts package to copy contracts into the root directory on every build, not just before publish. This resolves the issue where the contracts package could not be properly used within the monorepo. Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
Mark Tyneway authored
Last unwrapped errors
-
Joshua Gutow authored
These where missed in local lints but when a full lint was run these popped up.
-
Joshua Gutow authored
* op-node: Properly wrap errors * op-proposer: Properly wrap errors * Update linters to use errorlint This includes a hack with golangci-lint to disable the assertion and comparison check in errorlint but to retain the errorf lint. In the the future the assertion lint could probably be fixed, but the comparison lint may be overactive with certain cases.
-
Matthew Slipper authored
* op-node: Properly return error on bad hex data * Add forgotten err to Pub2PeerID Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Joshua Gutow authored
* op-node: Switch to 128 bit channel ID & block # timeout This PR removes the 256 bit channel ID + timestamp. With the timestamp being removed, the channel timeout is now done with block numbers. * Update specs/derivation.md * fix system test config
-
protolambda authored
-
protolambda authored
-
- 08 Sep, 2022 2 commits
-
-
Matthew Slipper authored
* op-node: Fix OPB-01 `(*ExectionPayload).UnmarshalSSZ()` fails to properly validate the `transactionsOffset` and `extraDataOffset` values, allowing a malicious actor to crash multiple op-nodes by gossiping a P2P message containing a specially crafted `SSZExecutionPayload`. * lint
-
Matthew Slipper authored
- OPB-05: Puts the signature verification before further unmarshaling to guard against mal-formed payloads. - Adds a minimum size check to the payload decoding to ensure we always have at least a signature and a payload available.
-