1. 17 Apr, 2024 9 commits
  2. 16 Apr, 2024 8 commits
  3. 15 Apr, 2024 5 commits
  4. 13 Apr, 2024 4 commits
  5. 12 Apr, 2024 10 commits
  6. 11 Apr, 2024 4 commits
    • Mark Tyneway's avatar
      contracts-bedrock: update optimism portal guardian usage (#10108) · 62c41869
      Mark Tyneway authored
      * contracts-bedrock: update optimism portal guardian usage
      
      Migrate to the modern `guardian()(address)` instead of using
      `GUARDIAN()(address)`  which is deprecated. This will make
      a future removal of the ABI easier to manage by reducing the
      diff required when the legacy methods are removed.
      
      * contracts-bedrock: more GUARDIAN usage
      
      rm
      62c41869
    • Mark Tyneway's avatar
      contracts-bedrock: fix warning in node js (#10111) · 3caf78bf
      Mark Tyneway authored
      The following warning was happening in CI:
      
      ```
      (node:11982) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
      ```
      
      Simply replaces the `rmdir` with `rm`. Note that the `sync` methods
      are used here instead of the async promise based methods.
      3caf78bf
    • tdot's avatar
      op-plasma: basic da server with S3 and leveldb storage (#9813) · c4078e54
      tdot authored
      * feat: basic plasma da server
      
      * catch all not found errors
      
      * feat: switch to minio and file server
      
      * add file
      
      * fix: handle feedback
      
      * fix: tidy
      
      * fix: tidy mods again
      
      * chore: add S3 config info
      c4078e54
    • Mark Tyneway's avatar
      contracts-bedrock: update weth98 (#10102) · c8277f3b
      Mark Tyneway authored
      * contracts-bedrock: update weth98
      
      The custom gas token project is moving away from using
      the original weth9 code as a predeploy to using the
      weth98 code as a predeploy. As part of this, the ability
      to override the name and symbol are required for chains
      that use a custom gas token. There is no way to
      mark an inline declaration as `virtual`, it requires
      moving to a `function` syntax. Definitely less clean
      looking but necessary to support the override ability.
      
      The implementation of the new WETH predeploy is as follows:
      
      ```solidity
      contract WETH is WETH98 {
          /// @notice Returns the name of the token from the L1Block contract
          function name() external view override returns (string memory) {
              return string.concat("Wrapped ", L1Block(Predeploys.L1_BLOCK_ATTRIBUTES).gasPayingTokenName());
          }
      
          /// @notice Returns the symbol of the token from the L1Block contract
          function symbol() external view override returns (string memory) {
              return string.concat("W", L1Block(Predeploys.L1_BLOCK_ATTRIBUTES).gasPayingTokenSymbol());
          }
      }
      ```
      
      Where when not in custom gas token mode, it with return `Wrapped Ether`
      and `WETH`, so it is backwards compatible.
      
      This commit also adds a fallback function since the original weth9 has
      a fallback function but this one does not. While the receive function
      can work, adding the fallback function ensures that the same behavior
      as weth9 is achieved when making a call that includes calldata + value.
      
      * contracts-bedrock: fix compile
      
      * snapshots: update
      
      * op-bindings: regenerate
      
      * contracts-bedrock: cleanup weth98
      
      * contracts-bedrock: semver lock
      
      * contracts-bedrock: weth98 tests
      
      * lint: fix
      c8277f3b