1. 07 Jan, 2025 9 commits
    • Yann Hodique's avatar
    • Yann Hodique's avatar
      feat(kurtosis-devnet): improve docker host detection (#13608) · 3d577f8e
      Yann Hodique authored
      Move the detection logic to a separate package, and make it testable.
      Also make room for more detection mechanisms down the road if needed.
      3d577f8e
    • Yann Hodique's avatar
      feat(kurtosis-devnet): output L1 addresses (#13601) · 6fa5e378
      Yann Hodique authored
      Dump a few potentially interesting addresses as part of the L1 manifest.
      In particular, superchain addresses.
      
      Implementation addresses are provided as well, as they might come in
      handy for debugging purposes.
      
      Output now looks like:
      ...
        "l1": {
          "name": "Ethereum",
          "nodes": [
            {
              "cl": "http://127.0.0.1:50973",
              "el": "http://127.0.0.1:50965"
            }
          ],
          "addresses": {
            "delayedWETHImpl": "0x6cc791cd89220c47952885782156e5e8f2833063",
            "disputeGameFactoryImpl": "0x256fa44786f5b9aa47f13639b97a52cbbb8d3b6e",
            "l1CrossDomainMessengerImpl": "0xe70dae11d895c2e508e7d1c0c91dd0f3e4e971c3",
            "l1ERC721BridgeImpl": "0x5a0242103310c7992773430e790c142b7e94ef3a",
            "l1StandardBridgeImpl": "0x8eb57e8ca6e1e3216b4293cc37d621a43c17ec40",
            "mipsSingleton": "0xb5322da185af39b53f8d3cbf40636eb3f1b527f2",
            "opcm": "0xf0f6e276962a776112511c4ea74ad12b4e44cd6b",
            "optimismMintableERC20FactoryImpl": "0x5f554a3eabcc8e2055040d563ef4910e8bacff8d",
            "optimismPortalImpl": "0x9d1da1fef40e2b5f44ed193bd88f1d3ee4a31cc5",
            "preimageOracleSingleton": "0x31502454e4b07ab6f35216fd734aafd816a06110",
            "protocolVersionsImpl": "0xba337ce3e690fdd01b1a830404e8caaae22a0638",
            "protocolVersionsProxy": "0xf2749e312b43529cb35a91e355919a376bd22ce3",
            "proxyAdmin": "0xed3b4bf7e17e47dac37d7bb913196e192dcaf748",
            "superchainConfigImpl": "0xcf99c17529cc22c39551547e323ed9dda6841734",
            "superchainConfigProxy": "0x329cf899464ba580bf047f4b886db342c602f579",
            "systemConfigImpl": "0x5d58414e85fc12d343eb3445dd7417c483d939a9"
          }
        },
      ...
      6fa5e378
    • Yann Hodique's avatar
      fix(kurtosis-devnet): try harder to find a host ip (#13604) · c7a6819a
      Yann Hodique authored
      On Mac and Windows, we should be relatively safe using
      host.docker.internal (feature of Docker Desktop)
      
      On Linux, try to find the docker bridge and infer the IP from
      there.
      c7a6819a
    • Yann Hodique's avatar
      1609f070
    • Maurelian's avatar
      feat: Use encodeCall for type safety (#13561) · c46616b3
      Maurelian authored
      * feat: Use encodeCall for type safety
      
      A very common issue (both from experience and observation) is
      failing to correctly encode the initializer arguments in
      `encodeSystemConfigInitializer()`. This fixes that.
      
      I believe that at one point we needed to be able to pass the 4 bytes
      selector in as a string, but that no longer seems to be the case.
      
      * semver
      
      * feat: expand use of encodeCall to rest of OPCM
      
      * semver lock
      c46616b3
    • mbaxter's avatar
      dd87dca5
    • zhiqiangxu's avatar
      cannon arch: move derivable stuff to arch.go (#13350) · d11c6b57
      zhiqiangxu authored
      * cannon arch: move derivable stuff to arch.go
      
      * address comments
      d11c6b57
    • Yann Hodique's avatar
      feat(kurtosis-devnet): split SDK-based logic into separate pkgs (#13581) · cb755961
      Yann Hodique authored
      This is a code cleanup change.
      
      This moves all the code built on top of Kurtosis SDK into separate
      packages for better clarity.
      cb755961
  2. 06 Jan, 2025 6 commits
  3. 04 Jan, 2025 4 commits
  4. 03 Jan, 2025 10 commits
  5. 02 Jan, 2025 3 commits
  6. 30 Dec, 2024 1 commit
  7. 24 Dec, 2024 5 commits
  8. 23 Dec, 2024 2 commits
    • Maurelian's avatar
      bcb6ef90
    • Tyler Smith's avatar
      feat,interop: add db syncing between nodes (#13357) · 590fc814
      Tyler Smith authored
      * feature: Allow adding arbitrary HTTP handlers to RPC HTTP Server.
      
      * feature: Add sync package to handle streaming db files between nodes.
      
      * tweak: Add DB sync server handler to op-supervisor server.
      
      * feature: Use db sync if it's configured and there's no existing db.
      
      * tweak: Use retry lib, which also adds max retries.
      
      * rename: SyncRPC -> SyncEndpoint.
      
      * tweak: Make the initial chain set part of the Server constructor.
      
      * cleanup: Remove unused functions.
      
      * rename: client -> syncClient to avoid package collision.
      
      * fix: Load DepSet and use for sync server.
      
      * tweak: Use client.BasicHTTPClient for sync client.
      
      * fix: Don't double concat the path.
      
      * tests,fix: Set sync resume to true.
      
      * tweak: Add error context.
      
      * tweak: Make http body close lint-friendly.
      
      * tweak: Change retry policy to backoff from 1s to 30s, up to 10 minutes.
      
      * tests,fix: Use require.ErrorIs to handle wrapped error.
      590fc814