diff --git a/.circleci/config.yml b/.circleci/config.yml index 080f3c1719ce..aa2d387e19a1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -127,7 +127,6 @@ jobs: - "packages/common-ts/node_modules" - "packages/contracts-bedrock/node_modules" - "packages/core-utils/node_modules" - - "packages/replica-healthcheck/node_modules" - "packages/sdk/node_modules" - "packages/contracts-ts/node_modules" - run: @@ -1222,13 +1221,6 @@ workflows: dependencies: "(common-ts|contracts-bedrock|core-utils)" requires: - pnpm-monorepo - - js-lint-test: - name: replica-healthcheck-tests - coverage_flag: replica-healthcheck-tests - package_name: replica-healthcheck - dependencies: "(common-ts|core-utils)" - requires: - - pnpm-monorepo - js-lint-test: name: sdk-tests coverage_flag: sdk-tests diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index dcaf2073758e..c3d96a6803cd 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -3,7 +3,6 @@ /packages/common-ts @ethereum-optimism/typescript-reviewers /packages/contracts-bedrock @ethereum-optimism/contract-reviewers /packages/core-utils @ethereum-optimism/legacy-reviewers -/packages/replica-healthcheck @ethereum-optimism/legacy-reviewers /packages/sdk @ethereum-optimism/devxpod # Bedrock codebases diff --git a/.github/workflows/release-docker-canary.yml b/.github/workflows/release-docker-canary.yml index f0682a033923..e57262235288 100644 --- a/.github/workflows/release-docker-canary.yml +++ b/.github/workflows/release-docker-canary.yml @@ -19,7 +19,7 @@ jobs: balance-mon: ${{ steps.packages.outputs.balance-mon }} drippie-mon: ${{ steps.packages.outputs.drippie-mon }} wd-mon: ${{ steps.packages.outputs.wd-mon }} - replica-healthcheck: ${{ steps.packages.outputs.replica-healthcheck }} + replica-mon: ${{ steps.packages.outputs.replica-mon }} canary-docker-tag: ${{ steps.docker-image-name.outputs.canary-docker-tag }} op-exporter: ${{ steps.packages.outputs.op-exporter }} endpoint-monitor: ${{ steps.packages.outputs.endpoint-monitor }} @@ -151,10 +151,10 @@ jobs: push: true tags: ethereumoptimism/wd-mon:${{ needs.canary-publish.outputs.canary-docker-tag }} - replica-healthcheck: - name: Publish Replica Healthcheck Version ${{ needs.canary-publish.outputs.canary-docker-tag }} + replica-mon: + name: Publish replica-mon Version ${{ needs.canary-publish.outputs.canary-docker-tag }} needs: canary-publish - if: needs.canary-publish.outputs.replica-healthcheck != '' + if: needs.canary-publish.outputs.replica-mon != '' runs-on: ubuntu-latest steps: @@ -174,9 +174,9 @@ jobs: with: context: . file: ./ops/docker/Dockerfile.packages - target: replica-healthcheck + target: replica-mon push: true - tags: ethereumoptimism/replica-healthcheck:${{ needs.canary-publish.outputs.canary-docker-tag }} + tags: ethereumoptimism/replica-mon:${{ needs.canary-publish.outputs.canary-docker-tag }} op-exporter: name: Publish op-exporter Version ${{ needs.canary-publish.outputs.canary-docker-tag }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 005a4f1a8f53..93579b8be12e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: balance-mon: ${{ steps.packages.outputs.drippie-mon }} drippie-mon: ${{ steps.packages.outputs.drippie-mon }} wd-mon: ${{ steps.packages.outputs.wd-mon }} - replica-healthcheck: ${{ steps.packages.outputs.replica-healthcheck }} + replica-mon: ${{ steps.packages.outputs.replica-mon }} op-exporter: ${{ steps.packages.outputs.op-exporter }} endpoint-monitor: ${{ steps.packages.outputs.endpoint-monitor }} # Permissions necessary for Changesets to push a new branch and open PRs @@ -213,10 +213,10 @@ jobs: push: true tags: ethereumoptimism/drippie-mon:${{ needs.release.outputs.drippie-mon }},ethereumoptimism/drippie-mon:latest - replica-healthcheck: - name: Publish Replica Healthcheck Version ${{ needs.release.outputs.replica-healthcheck }} + replica-mon: + name: Publish Replica Healthcheck Version ${{ needs.release.outputs.replica-mon }} needs: release - if: needs.release.outputs.replica-healthcheck != '' + if: needs.release.outputs.replica-mon != '' runs-on: ubuntu-latest steps: @@ -236,9 +236,9 @@ jobs: with: context: . file: ./ops/docker/Dockerfile.packages - target: replica-healthcheck + target: replica-mon push: true - tags: ethereumoptimism/replica-healthcheck:${{ needs.release.outputs.replica-healthcheck }},ethereumoptimism/replica-healthcheck:latest + tags: ethereumoptimism/replica-mon:${{ needs.release.outputs.replica-mon }},ethereumoptimism/replica-mon:latest endpoint-monitor: name: Publish endpoint-monitor Version ${{ needs.release.outputs.endpoint-monitor}} diff --git a/README.md b/README.md index f030c92728c7..f7f3df949060 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,6 @@ Refer to the Directory Structure section below to understand which packages are │ ├── contracts-bedrock: Bedrock smart contracts. │ ├── core-utils: Low-level utilities that make building Optimism easier │ ├── chain-mon: Chain monitoring services -│ ├── replica-healthcheck: Service for monitoring the health of a replica node │ └── sdk: provides a set of tools for interacting with Optimism ├── op-bindings: Go bindings for Bedrock smart contracts. ├── op-batcher: L2-Batch Submitter, submits bundles of batches to L1 @@ -79,7 +78,6 @@ Refer to the Directory Structure section below to understand which packages are │ ├── common-ts: Common tools for building apps in TypeScript │ ├── core-utils: Low-level utilities that make building Optimism easier │ ├── chain-mon: Chain monitoring services -│ ├── replica-healthcheck: Service for monitoring the health of a replica node │ └── sdk: provides a set of tools for interacting with Optimism ├── indexer: indexes and syncs transactions ├── op-exporter: A prometheus exporter to collect/serve metrics from an Optimism node diff --git a/codecov.yml b/codecov.yml index 36ab20d3f5fe..af5577570fb2 100644 --- a/codecov.yml +++ b/codecov.yml @@ -36,5 +36,4 @@ flag_management: - name: core-utils-tests - name: dtl-tests - name: chain-mon-tests - - name: replica-healthcheck-tests - name: sdk-tests diff --git a/ops/docker/Dockerfile.packages b/ops/docker/Dockerfile.packages index 47d33b71974e..1a13a889021b 100644 --- a/ops/docker/Dockerfile.packages +++ b/ops/docker/Dockerfile.packages @@ -79,9 +79,9 @@ RUN git submodule update --init --recursive RUN pnpm build -FROM base as replica-healthcheck -WORKDIR /opt/optimism/packages/replica-healthcheck -ENTRYPOINT ["pnpm", "run", "start"] +FROM base as replica-mon +WORKDIR /opt/optimism/packages/chain-mon +ENTRYPOINT ["pnpm", "run", "start:replica-mon"] FROM base as balance-mon WORKDIR /opt/optimism/packages/chain-mon diff --git a/packages/chain-mon/package.json b/packages/chain-mon/package.json index b48b7d1ab22e..896ed2163e54 100644 --- a/packages/chain-mon/package.json +++ b/packages/chain-mon/package.json @@ -14,6 +14,7 @@ "start:drippie-mon": "ts-node ./src/drippie-mon/service.ts", "start:wd-mon": "ts-node ./src/wd-mon/service.ts", "start:fault-mon": "ts-node ./src/fault-mon/service.ts", + "start:replica-mon": "ts-node ./src/replica-mon/service.ts", "test": "hardhat test", "test:coverage": "nyc hardhat test && nyc merge .nyc_output coverage.json", "build": "tsc -p ./tsconfig.json", diff --git a/packages/replica-healthcheck/README.md b/packages/chain-mon/src/replica-mon/README.md similarity index 86% rename from packages/replica-healthcheck/README.md rename to packages/chain-mon/src/replica-mon/README.md index 9ccf9d69cfde..5c2adb0b7430 100644 --- a/packages/replica-healthcheck/README.md +++ b/packages/chain-mon/src/replica-mon/README.md @@ -23,11 +23,11 @@ Copy `.env.example` into a new file named `.env`, then set the environment varia You can view a list of all environment variables and descriptions for each via: ``` -pnpm start --help +pnpm start:replica-mon --help ``` -Once your environment variables have been set, run the relayer via: +Once your environment variables have been set, run the healthcheck service via: ``` -pnpm start +pnpm start:replica-mon ``` diff --git a/packages/replica-healthcheck/src/index.ts b/packages/chain-mon/src/replica-mon/index.ts similarity index 100% rename from packages/replica-healthcheck/src/index.ts rename to packages/chain-mon/src/replica-mon/index.ts diff --git a/packages/replica-healthcheck/src/service.ts b/packages/chain-mon/src/replica-mon/service.ts similarity index 99% rename from packages/replica-healthcheck/src/service.ts rename to packages/chain-mon/src/replica-mon/service.ts index d56f519cb2e3..cf43717c6b99 100644 --- a/packages/replica-healthcheck/src/service.ts +++ b/packages/chain-mon/src/replica-mon/service.ts @@ -8,7 +8,7 @@ import { } from '@eth-optimism/common-ts' import { sleep } from '@eth-optimism/core-utils' -import { version } from '../package.json' +import { version } from '../../package.json' type HealthcheckOptions = { referenceRpcProvider: Provider diff --git a/packages/replica-healthcheck/.env.example b/packages/replica-healthcheck/.env.example deleted file mode 100644 index 4a11a28d12ed..000000000000 --- a/packages/replica-healthcheck/.env.example +++ /dev/null @@ -1,2 +0,0 @@ -HEALTHCHECK__REFERENCE_RPC_PROVIDER=https://mainnet.optimism.io -HEALTHCHECK__TARGET_RPC_PROVIDER=http://localhost:9991 diff --git a/packages/replica-healthcheck/.eslintrc.js b/packages/replica-healthcheck/.eslintrc.js deleted file mode 100644 index bfd2057be80b..000000000000 --- a/packages/replica-healthcheck/.eslintrc.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - extends: '../../.eslintrc.js', -} diff --git a/packages/replica-healthcheck/.gitignore b/packages/replica-healthcheck/.gitignore deleted file mode 100644 index b51ea715cf58..000000000000 --- a/packages/replica-healthcheck/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules/ -build/ \ No newline at end of file diff --git a/packages/replica-healthcheck/.lintstagedrc.yml b/packages/replica-healthcheck/.lintstagedrc.yml deleted file mode 100644 index a3035a2299b2..000000000000 --- a/packages/replica-healthcheck/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -"*.{ts,js}": - - eslint diff --git a/packages/replica-healthcheck/.prettierrc.js b/packages/replica-healthcheck/.prettierrc.js deleted file mode 100644 index 6b3fa8e2ce23..000000000000 --- a/packages/replica-healthcheck/.prettierrc.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - ...require('../../.prettierrc.js'), -}; \ No newline at end of file diff --git a/packages/replica-healthcheck/CHANGELOG.md b/packages/replica-healthcheck/CHANGELOG.md deleted file mode 100644 index 275f985bb1f2..000000000000 --- a/packages/replica-healthcheck/CHANGELOG.md +++ /dev/null @@ -1,435 +0,0 @@ -# @eth-optimism/replica-healthcheck - -## 1.2.6 - -### Patch Changes - -- Updated dependencies [[`c11039060`](https://github.com/ethereum-optimism/optimism/commit/c11039060bc037a88916c2cba602687b6d69ad1a), [`77da6edc6`](https://github.com/ethereum-optimism/optimism/commit/77da6edc643e0b5e39f7b6bb41c3c7ead418a876)]: - - @eth-optimism/core-utils@0.12.2 - - @eth-optimism/common-ts@0.8.3 - -## 1.2.5 - -### Patch Changes - -- Updated dependencies [8d7dcc70c] -- Updated dependencies [d6388be4a] - - @eth-optimism/core-utils@0.12.1 - - @eth-optimism/common-ts@0.8.2 - -## 1.2.4 - -### Patch Changes - -- dbe5eb308: Empty patch release to re-release packages that failed to be released by a bug in the release process. - -## 1.2.3 - -### Patch Changes - -- Updated dependencies [fecd42d67] - - @eth-optimism/common-ts@0.8.1 - -## 1.2.2 - -### Patch Changes - -- Updated dependencies [0e179781b] -- Updated dependencies [4ae94b412] - - @eth-optimism/common-ts@0.8.0 - -## 1.2.1 - -### Patch Changes - -- Updated dependencies [f04e5db2d] - - @eth-optimism/common-ts@0.7.1 - -## 1.2.0 - -### Minor Changes - -- 9b2891852: Refactors BaseServiceV2 slightly, merges standard options with regular options - -### Patch Changes - -- ab8ec365c: Updates BaseServiceV2 so that options are secret by default. Services will have to explicitly mark options as "public" for those options to be logged and included in the metadata metric. -- Updated dependencies [e23f60f63] -- Updated dependencies [ab8ec365c] -- Updated dependencies [9b2891852] -- Updated dependencies [c6c9c7dbf] -- Updated dependencies [ffcee1013] -- Updated dependencies [eceb0de1d] - - @eth-optimism/common-ts@0.7.0 - -## 1.1.13 - -### Patch Changes - -- 1d3c749a2: Bumps the version of ts-node used -- Updated dependencies [c975c9620] -- Updated dependencies [136ea1785] - - @eth-optimism/core-utils@0.12.0 - - @eth-optimism/common-ts@0.6.8 - -## 1.1.12 - -### Patch Changes - -- 97b5f578c: Fixes how versions are imported for BaseServiceV2 services - -## 1.1.11 - -### Patch Changes - -- Updated dependencies [1e76cdb86] - - @eth-optimism/core-utils@0.11.0 - - @eth-optimism/common-ts@0.6.7 - -## 1.1.10 - -### Patch Changes - -- Updated dependencies [ce7da914] - - @eth-optimism/common-ts@0.6.6 - -## 1.1.9 - -### Patch Changes - -- 7215f4ce: Bump ethers to 5.7.0 globally -- Updated dependencies [7215f4ce] -- Updated dependencies [206f6033] -- Updated dependencies [d7679ca4] - - @eth-optimism/common-ts@0.6.5 - - @eth-optimism/core-utils@0.10.1 - -## 1.1.8 - -### Patch Changes - -- Updated dependencies [dbfea116] - - @eth-optimism/core-utils@0.10.0 - - @eth-optimism/common-ts@0.6.4 - -## 1.1.7 - -### Patch Changes - -- Updated dependencies [0df744f6] -- Updated dependencies [8ae39154] -- Updated dependencies [dac4a9f0] - - @eth-optimism/core-utils@0.9.3 - - @eth-optimism/common-ts@0.6.3 - -## 1.1.6 - -### Patch Changes - -- Updated dependencies [0bf3b9b4] -- Updated dependencies [8d26459b] -- Updated dependencies [4477fe9f] - - @eth-optimism/core-utils@0.9.2 - - @eth-optimism/common-ts@0.6.2 - -## 1.1.5 - -### Patch Changes - -- Updated dependencies [f9fee446] - - @eth-optimism/core-utils@0.9.1 - - @eth-optimism/common-ts@0.6.1 - -## 1.1.4 - -### Patch Changes - -- Updated dependencies [700dcbb0] -- Updated dependencies [3d1cb720] - - @eth-optimism/core-utils@0.9.0 - - @eth-optimism/common-ts@0.6.0 - -## 1.1.3 - -### Patch Changes - -- Updated dependencies [cb71fcde] -- Updated dependencies [10e41522] - - @eth-optimism/common-ts@0.5.0 - -## 1.1.2 - -### Patch Changes - -- 29ff7462: Revert es target back to 2017 -- Updated dependencies [c201f3f1] -- Updated dependencies [29ff7462] -- Updated dependencies [52b26878] - - @eth-optimism/common-ts@0.4.0 - - @eth-optimism/core-utils@0.8.7 - -## 1.1.1 - -### Patch Changes - -- Updated dependencies [9ba869a7] -- Updated dependencies [050859fd] - - @eth-optimism/common-ts@0.3.1 - -## 1.1.0 - -### Minor Changes - -- 84a8934c: BaseServiceV2 exposes service name and version as standard synthetic metric - -### Patch Changes - -- Updated dependencies [d9e39931] -- Updated dependencies [84a8934c] - - @eth-optimism/common-ts@0.3.0 - -## 1.0.9 - -### Patch Changes - -- Updated dependencies [9ecbf3e5] - - @eth-optimism/common-ts@0.2.10 - -## 1.0.8 - -### Patch Changes - -- Updated dependencies [17962ca9] - - @eth-optimism/core-utils@0.8.6 - - @eth-optimism/common-ts@0.2.9 - -## 1.0.7 - -### Patch Changes - -- d18ae135: Updates all ethers versions in response to BN.js bug -- Updated dependencies [f16383f2] -- Updated dependencies [d18ae135] - - @eth-optimism/common-ts@0.2.8 - - @eth-optimism/core-utils@0.8.5 - -## 1.0.6 - -### Patch Changes - -- Updated dependencies [5cb3a5f7] -- Updated dependencies [6b9fc055] - - @eth-optimism/core-utils@0.8.4 - - @eth-optimism/common-ts@0.2.7 - -## 1.0.5 - -### Patch Changes - -- bc289e91: Fixes a bug that would cause the service to stop properly checking blocks when the target client consistently leads the reference client - -## 1.0.4 - -### Patch Changes - -- b57014d1: Update to typescript@4.6.2 -- Updated dependencies [b57014d1] - - @eth-optimism/common-ts@0.2.6 - - @eth-optimism/core-utils@0.8.3 - -## 1.0.3 - -### Patch Changes - -- c1957126: Update Dockerfile to use Alpine -- Updated dependencies [e36b085c] -- Updated dependencies [c1957126] -- Updated dependencies [51673b90] -- Updated dependencies [7a179003] - - @eth-optimism/common-ts@0.2.5 - - @eth-optimism/core-utils@0.8.2 - -## 1.0.2 - -### Patch Changes - -- f981b8da: Fixes a bug in the replica-healthcheck docker file -- 032731b5: Add checks and metrics for dead networks -- Updated dependencies [f981b8da] - - @eth-optimism/common-ts@0.2.4 - -## 1.0.1 - -### Patch Changes - -- 1c685f76: Fixes a bug in the replica-healthcheck dockerfile -- 5cd1e996: Have BaseServiceV2 add spaces to environment variable names -- Updated dependencies [f7761058] -- Updated dependencies [5ae15042] -- Updated dependencies [5cd1e996] - - @eth-optimism/common-ts@0.2.3 - -## 1.0.0 - -### Major Changes - -- e264f03f: Rewrite replica-healthcheck with BaseServiceV2 - -### Patch Changes - -- Updated dependencies [b3f9bdef] -- Updated dependencies [e53b5783] - - @eth-optimism/common-ts@0.2.2 - -## 0.3.11 - -### Patch Changes - -- Updated dependencies [42227d69] -- Updated dependencies [84f63c49] - - @eth-optimism/sdk@1.0.0 - -## 0.3.10 - -### Patch Changes - -- dad644b4: Fix bug in replica healthcheck dockerfile -- Updated dependencies [b66e3131] -- Updated dependencies [5a6f539c] -- Updated dependencies [27d8942e] - - @eth-optimism/sdk@0.2.5 - - @eth-optimism/core-utils@0.8.1 - -## 0.3.9 - -### Patch Changes - -- d4b0e193: Fix bug in replica healthcheck dockerfile -- Updated dependencies [44420939] - - @eth-optimism/sdk@0.2.4 - -## 0.3.8 - -### Patch Changes - -- d3d70291: Use asL2Provider instead of injectL2Context in bss and healthcheck service. -- Updated dependencies [f37c283c] -- Updated dependencies [3f4d3c13] -- Updated dependencies [0b4453f7] -- Updated dependencies [0c54e60e] - - @eth-optimism/sdk@0.2.3 - - @eth-optimism/core-utils@0.8.0 - -## 0.3.7 - -### Patch Changes - -- Updated dependencies [b4165299] -- Updated dependencies [3c2acd91] - - @eth-optimism/core-utils@0.7.7 - -## 0.3.6 - -### Patch Changes - -- ba14c59d: Updates various ethers dependencies to their latest versions -- Updated dependencies [ba14c59d] - - @eth-optimism/core-utils@0.7.6 - -## 0.3.5 - -### Patch Changes - -- Updated dependencies [ad94b9d1] - - @eth-optimism/core-utils@0.7.5 - -## 0.3.4 - -### Patch Changes - -- Updated dependencies [ba96a455] -- Updated dependencies [c3e85fef] - - @eth-optimism/core-utils@0.7.4 - -## 0.3.3 - -### Patch Changes - -- Updated dependencies [584cbc25] - - @eth-optimism/core-utils@0.7.3 - -## 0.3.2 - -### Patch Changes - -- 8e634b49: Fix package JSON issues -- Updated dependencies [8e634b49] - - @eth-optimism/core-utils@0.7.2 - -## 0.3.1 - -### Patch Changes - -- 243f33e5: Standardize package json file format -- Updated dependencies [243f33e5] - - @eth-optimism/common-ts@0.2.1 - - @eth-optimism/core-utils@0.7.1 - -## 0.3.0 - -### Minor Changes - -- 81ccd6e4: `regenesis/0.5.0` release - -### Patch Changes - -- 222a3eef: Add 'User-Agent' to the http headers for ethers providers -- a98a1884: Fixes dependencies instead of using caret constraints -- Updated dependencies [3ce62c81] -- Updated dependencies [cee2a464] -- Updated dependencies [222a3eef] -- Updated dependencies [896168e2] -- Updated dependencies [7c352b1e] -- Updated dependencies [b70ee70c] -- Updated dependencies [20c8969b] -- Updated dependencies [83a449c4] -- Updated dependencies [81ccd6e4] -- Updated dependencies [6d32d701] - - @eth-optimism/core-utils@0.7.0 - - @eth-optimism/common-ts@0.2.0 - -## 0.2.4 - -### Patch Changes - -- 6d3e1d7f: Update dependencies -- Updated dependencies [6d3e1d7f] -- Updated dependencies [2e929aa9] - - @eth-optimism/common-ts@0.1.6 - - @eth-optimism/core-utils@0.6.1 - -## 0.2.3 - -### Patch Changes - -- Updated dependencies [e0be02e1] -- Updated dependencies [8da04505] - - @eth-optimism/core-utils@0.6.0 - -## 0.2.2 - -### Patch Changes - -- 4262ea2c: Add tx write latency cron check - -## 0.2.1 - -### Patch Changes - -- 91c6287e: Bug fix from leftover error during testing - -## 0.2.0 - -### Minor Changes - -- 4319e455: Add replica-healthcheck to monorepo diff --git a/packages/replica-healthcheck/LICENSE b/packages/replica-healthcheck/LICENSE deleted file mode 100644 index 6a7da5218bb2..000000000000 --- a/packages/replica-healthcheck/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -(The MIT License) - -Copyright 2020-2021 Optimism - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/replica-healthcheck/package.json b/packages/replica-healthcheck/package.json deleted file mode 100644 index 4fcd0baceeca..000000000000 --- a/packages/replica-healthcheck/package.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "private": true, - "name": "@eth-optimism/replica-healthcheck", - "version": "1.2.6", - "description": "[Optimism] Service for monitoring the health of replica nodes", - "main": "dist/index", - "types": "dist/index", - "files": [ - "dist/*" - ], - "scripts": { - "start": "ts-node ./src/service", - "test:coverage": "echo 'No tests defined.'", - "build": "tsc -p tsconfig.json", - "clean": "rimraf ./dist ./tsconfig.tsbuildinfo", - "preinstall": "npx only-allow pnpm", - "lint": "pnpm run lint:fix && pnpm run lint:check", - "pre-commit": "lint-staged", - "lint:fix": "pnpm lint:check --fix", - "lint:check": "eslint . --max-warnings=0" - }, - "keywords": [ - "optimism", - "ethereum", - "replica", - "healthcheck" - ], - "homepage": "https://github.com/ethereum-optimism/optimism/tree/develop/packages/replica-healthcheck#readme", - "license": "MIT", - "author": "Optimism PBC", - "repository": { - "type": "git", - "url": "https://github.com/ethereum-optimism/optimism.git" - }, - "dependencies": { - "@eth-optimism/common-ts": "0.8.3", - "@eth-optimism/core-utils": "0.12.2", - "@ethersproject/abstract-provider": "^5.7.0" - }, - "devDependencies": { - "ts-node": "^10.9.1" - } -} diff --git a/packages/replica-healthcheck/tsconfig.json b/packages/replica-healthcheck/tsconfig.json deleted file mode 100644 index 12b6b742d745..000000000000 --- a/packages/replica-healthcheck/tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist" - }, - "include": [ - "package.json", - "src/**/*" - ] -}