1. 08 Sep, 2022 14 commits
  2. 07 Sep, 2022 2 commits
  3. 06 Sep, 2022 1 commit
  4. 29 Aug, 2022 1 commit
    • Matthew Slipper's avatar
      ci: Remove legacy nightlies (#3330) · f772f66c
      Matthew Slipper authored
      We're moving to Bedrock, so these nightlies aren't used anymore. Additionally, they were pushing directly to our Docker Hub repository. If we need to bring these back, we'll need to update them to push to GCR instead.
      f772f66c
  5. 27 Aug, 2022 7 commits
  6. 26 Aug, 2022 7 commits
  7. 25 Aug, 2022 8 commits
    • Mark Tyneway's avatar
      Merge pull request #3195 from ethereum-optimism/fix/use-safecall · 4fa3d863
      Mark Tyneway authored
      contracts-bedrock: use `MemorySafeCall`
      4fa3d863
    • Mark Tyneway's avatar
      op-bindings: regenerate · 7bae86e3
      Mark Tyneway authored
      7bae86e3
    • Mark Tyneway's avatar
      bindings: regenerate · 3e315b45
      Mark Tyneway authored
      3e315b45
    • Mark Tyneway's avatar
      contracts-bedrock: use safecall · 329d21b6
      Mark Tyneway authored
      Replace `ExcessivelySafeCall` with a local `SafeCall`
      that does not copy any calldata back. We do not care about
      returndata being returned so this prevents returndata bombs.
      329d21b6
    • Ben Wilson's avatar
      11123565
    • Mark Tyneway's avatar
      Merge pull request #3307 from ethereum-optimism/fix/add-missing-predeploy · b2898008
      Mark Tyneway authored
      contracts-bedrock: add gpo to Predeploys.sol
      b2898008
    • Mark Tyneway's avatar
      contracts-bedrock: bump oz to latest release (#3308) · cdf2163e
      Mark Tyneway authored
      This bumps the open zeppelin contracts used in bedrock to the
      latest release. This bump is happening because `Ownable` becomes
      more flexible, allowing you to overwrite the logic for `onlyOwner`.
      This would enable writing a `CrossDomainOwnable` contract like so:
      
      ```solidity
      // SPDX-License-Identifier: MIT
      pragma solidity 0.8.15;
      
      import { AddressAliasHelper } from "../vendor/AddressAliasHelper.sol";
      import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
      
      abstract contract CrossDomainOwnable is Ownable {
          /**
           * @dev Throws if the sender is not the owner.
           */
          function _checkOwner() internal view {
              address sender = AddressAliasHelper.undoL1ToL2Alias(msg.sender);
              require(owner() == sender, "Ownable: caller is not the owner");
          }
      }
      ```
      
      The main diff to the `Ownable` contract is that is now looks like this:
      
      ```solidity
          /**
           * @dev Throws if called by any account other than the owner.
           */
          modifier onlyOwner() {
              _checkOwner();
              _;
          }
      
          /**
           * @dev Returns the address of the current owner.
           */
          function owner() public view virtual returns (address) {
              return _owner;
          }
      
          /**
           * @dev Throws if the sender is not the owner.
           */
          function _checkOwner() internal view virtual {
              require(owner() == _msgSender(), "Ownable: caller is not the owner");
          }
      ```
      
      The older version of the contracts doesn't have the `virtual`
      `_checkOwner` function. This does add some additional gas overhead
      as seen in the `.gas-snapshot`.
      cdf2163e
    • mergify[bot]'s avatar
      d2a1bbc8