- 28 Jun, 2022 7 commits
-
-
Matthew Slipper authored
Adds a metrics server config and tracks metrics for the RPC server and RPC client calls. This PR is just a start - there are many more things we can track. Anything that might be affected by the batch derivation work was deliberately excluded. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Maurelian authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
Only create the hardhat style `BuildInfo` objects when compiling through the hardhat interface. Do not build them when going through `forge build`. This saves disk i/o when just building using `forge` vs building using `hardhat` for releases or hardhat tasks. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
Remove some of the l2geth packages in place of using geth packages directly. This begins to remove l2geth as a dependency from the indexer, as l2geth will become legacy code after the release of bedrock. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
Fix some very simple, low hanging fruit issues that semgrep is finding in the indexer. There are some more issues, but they have a larger scope. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
* indexer: use op-bindings for address manager The `Lib_AddressManager` contract was pulled into `contracts-bedrock` as a legacy contract and can be imported into `op-bindings` and build the same way that the other golang contract bindings are maintained. This is a legacy contract and should NEVER have any changes to it. It is ok if it is compiled with a different compiler version for testing, it will never be deployed to a network to be used with an Optimism system again. It is very important that the ABI never changes. Any upgrades to the network that touch this contract first must go through a `hardhat` or `anvil` forked network to ensure correctness of the upgrade. * indexer: go mod tidy + dockerfile Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Maurelian authored
* bedrock: Make portal upgradeable * bedrock: rebuild bindings and snapshot * bedrock: update portal storage layout * bedrock: Test oracle behind proxy --wip-- * bedrock: Test portal behind a proxy * bedrock: Set l2Sender in initialize * bedrock: workarounds for forge test overflow bug * bedrock: reorder inheritance in portal This shifts the order of inheritance so that the initializable values are in the first slot of the portal, which is consistent with all other contracts we have that inherit from initializable * Revert "bedrock: workarounds for forge test overflow bug" Forge seems to be working again!? This reverts commit bb8cdf2f3ecce1456c01e668f36b1429e02934d1. * bedrock: Make ResourceMetering non-abstract * bedrock: Add test for storage access post upgrade * chore: update gas snapshot and bindings
-
- 27 Jun, 2022 3 commits
-
-
Mark Tyneway authored
Enable hardhat style `BuildInfo` generation that integrates with the hardhat plugin. The debug files (`*.dbg.json`) are generated by default and are able to be pulled into hardhat tasks with `Artifacts.getBuildInfo`.
-
Mark Tyneway authored
* feat(contracts): add `isOutputFinalize` function An `external` function that can be used for apps to check to see if a particular output is finalized. * bindings: regenerate * contracts: update gas-snapshot * contracts-bedrock: update `isOutputFinalized` Co-authored-by:
Maurelian <maurelian@protonmail.ch> * contracts-bedrock: add `isOutputFinalized` * op-bindings: regenerate Co-authored-by:
Maurelian <maurelian@protonmail.ch> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
smartcontracts authored
Adds Drippie deploy config for mainnet. Also includes a new task to generate multisig bundles that can be executed by Gnosis Safe.
-
- 24 Jun, 2022 2 commits
-
-
Maurelian authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Marco Vasapollo authored
-
- 23 Jun, 2022 7 commits
-
-
Matthew Slipper authored
Version Packages
-
github-actions[bot] authored
-
Matthew Slipper authored
Merge develop into master
-
Matthew Slipper authored
* ci: Upgrade golangci-lint version to one that handles Go 1.18 * Fix proxyd lint
-
Maurelian authored
* bedrock: Add sequencer role to output oracle * bedrock: Test oracle access controls. * bedrock: Make the Output Oracle upgradeable * chore(bedrock): bindings, snapshot, changeset * update storage layout * kick CI * kick CI * Archive personal fork then kick again * kick build * contracts-bedrock: new storage layout * contracts-bedrock: fix deploy script Co-authored-by:
Matthew Slipper <me@matthewslipper.com> Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
Mark Tyneway authored
* contracts-bedrock: hardhat genesis-l1 * contracts-bedrock: hardhat genesis-l2 * core-utils: update types * contracts-bedrock: hardhat rollup-config * contracts-bedrock: update deploy scripts * contracts-governance: more solc output * contracts-bedrock: deploy config * contracts-bedrock: general fixes * ops-bedrock: use new script * lint * lint: fix
-
Maurelian authored
* bedrock: Add sequencer role to output oracle * bedrock: Test oracle access controls. * chore(bedrock): bindings, snapshot, changeset * bedrock: update oracle storage snapshot * bedrock: deploy scripts with oracle owner * test(bedrock): fix warp function in oracle test * bedrock: Address review feedback * bedrock: Generate unique deployer key in tests * kick build Co-authored-by:
Matthew Slipper <me@matthewslipper.com>
-
- 22 Jun, 2022 9 commits
-
-
Maurelian authored
* ci(bedrock): Add storage-snapshot script * bedrock: add populated storage layout * Update config.yml Co-authored-by:
Matthew Slipper <me@matthewslipper.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Maurelian authored
* fix(op-e2e): less flakey TestL2OutputSubmitter * fix(op-e2e): increase timeout on testwithdrawals
-
Maurelian authored
Co-authored-by:
Matthew Slipper <me@matthewslipper.com>
-
Javed Khan authored
* fix (bedrock): deploy L2OO - fix args * chore: changeset
-
smartcontracts authored
Updates the SDK to use the L2 chain ID, instead of the L1 chain ID, as the source of truth when loading chain-specific data. We're going to need this now that we're planning to have multiple L2s attached to the same L1 (goerli) during our Bedrock testing plan. Part of a series of PRs meant to simplify the SDK and prepare it for Bedrock. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
Mark Tyneway authored
-
smartcontracts authored
Fixes a bug in the deploy script for the L1CrossDomainMessenger where the L2OutputOracle was being passed into the constructor rather than the OptimismPortal, breaking the contract. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Ben Wilson authored
* op-replica env should include new values * Also kovan * Remove replica-healthcheck envs (uses network env now) * Update default-mainnet.env Co-authored-by:
Matthew Slipper <me@matthewslipper.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Maurelian authored
* fix(bedrock): arguments in L2OO deploy scripts * chore: changeset
-
- 21 Jun, 2022 3 commits
-
-
Will Cory authored
* feat(dev-env):Pin yarn to a common shared version * fix git ignore Co-authored-by:
Will Cory <willcory@Wills-MacBook-Pro.local> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Will Cory authored
* add version to healthz for convenience * changeset Co-authored-by:
Will Cory <willcory@Wills-MacBook-Pro.local> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Maurelian authored
* bedrock: lint and formatting ignore deployments * fix(bedrock): throw errors for eslint warnings * chore(bedrock): Format bedrock hardhat config
-
- 19 Jun, 2022 2 commits
-
-
Jeffrey Quesnelle authored
The current default values for image tags will result in a replica that is unable to fully sync (see #2686) Update to latest released versions Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
smartcontracts authored
Fixes a bug where the FD would try to get blocks beyond the local tip, triggering an error in L2Geth. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 18 Jun, 2022 7 commits
-
-
Matthew Slipper authored
Develop -> Master
-
Matthew Slipper authored
Version Packages
-
github-actions[bot] authored
-
Matthew Slipper authored
Develop -> Master
-
Matthew Slipper authored
-
smartcontracts authored
Fixes BSV2 to correctly ignore invalid routes in metrics by normalizing them to /invalid_path_not_a_real_route.
-
Will Cory authored
* update metrics to more permissive type * changeset Co-authored-by:
Will Cory <willcory@Wills-MacBook-Pro.local> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-