Commit 3d0178e6 authored by Mark Tyneway's avatar Mark Tyneway

cleanup: port `replica-healthcheck` to `chain-mon`

This ports the `replica-healthcheck` service to the `chain-mon`
package. The idea is that all of the simple typescript services
that monitor the chain should live in the same package. This was
the final package that was not following this standard. This way
it will be easier to run the various monitoring services since
they will all be the same docker image, given different entrypoints.
It will also be easier to isolate and update the deps.
parent 90111ed7
...@@ -140,7 +140,6 @@ jobs: ...@@ -140,7 +140,6 @@ jobs:
- "packages/common-ts/node_modules" - "packages/common-ts/node_modules"
- "packages/contracts-bedrock/node_modules" - "packages/contracts-bedrock/node_modules"
- "packages/core-utils/node_modules" - "packages/core-utils/node_modules"
- "packages/replica-healthcheck/node_modules"
- "packages/sdk/node_modules" - "packages/sdk/node_modules"
- "packages/contracts-ts/node_modules" - "packages/contracts-ts/node_modules"
- run: - run:
...@@ -1298,13 +1297,6 @@ workflows: ...@@ -1298,13 +1297,6 @@ workflows:
dependencies: "(common-ts|contracts-bedrock|core-utils)" dependencies: "(common-ts|contracts-bedrock|core-utils)"
requires: requires:
- pnpm-monorepo - 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: - js-lint-test:
name: sdk-tests name: sdk-tests
coverage_flag: sdk-tests coverage_flag: sdk-tests
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
/packages/common-ts @ethereum-optimism/typescript-reviewers /packages/common-ts @ethereum-optimism/typescript-reviewers
/packages/contracts-bedrock @ethereum-optimism/contract-reviewers /packages/contracts-bedrock @ethereum-optimism/contract-reviewers
/packages/core-utils @ethereum-optimism/legacy-reviewers /packages/core-utils @ethereum-optimism/legacy-reviewers
/packages/replica-healthcheck @ethereum-optimism/legacy-reviewers
/packages/sdk @ethereum-optimism/devxpod /packages/sdk @ethereum-optimism/devxpod
# Bedrock codebases # Bedrock codebases
......
...@@ -19,7 +19,7 @@ jobs: ...@@ -19,7 +19,7 @@ jobs:
balance-mon: ${{ steps.packages.outputs.balance-mon }} balance-mon: ${{ steps.packages.outputs.balance-mon }}
drippie-mon: ${{ steps.packages.outputs.drippie-mon }} drippie-mon: ${{ steps.packages.outputs.drippie-mon }}
wd-mon: ${{ steps.packages.outputs.wd-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 }} canary-docker-tag: ${{ steps.docker-image-name.outputs.canary-docker-tag }}
op-exporter: ${{ steps.packages.outputs.op-exporter }} op-exporter: ${{ steps.packages.outputs.op-exporter }}
endpoint-monitor: ${{ steps.packages.outputs.endpoint-monitor }} endpoint-monitor: ${{ steps.packages.outputs.endpoint-monitor }}
...@@ -151,10 +151,10 @@ jobs: ...@@ -151,10 +151,10 @@ jobs:
push: true push: true
tags: ethereumoptimism/wd-mon:${{ needs.canary-publish.outputs.canary-docker-tag }} tags: ethereumoptimism/wd-mon:${{ needs.canary-publish.outputs.canary-docker-tag }}
replica-healthcheck: replica-mon:
name: Publish Replica Healthcheck Version ${{ needs.canary-publish.outputs.canary-docker-tag }} name: Publish replica-mon Version ${{ needs.canary-publish.outputs.canary-docker-tag }}
needs: canary-publish needs: canary-publish
if: needs.canary-publish.outputs.replica-healthcheck != '' if: needs.canary-publish.outputs.replica-mon != ''
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
...@@ -174,9 +174,9 @@ jobs: ...@@ -174,9 +174,9 @@ jobs:
with: with:
context: . context: .
file: ./ops/docker/Dockerfile.packages file: ./ops/docker/Dockerfile.packages
target: replica-healthcheck target: replica-mon
push: true 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: op-exporter:
name: Publish op-exporter Version ${{ needs.canary-publish.outputs.canary-docker-tag }} name: Publish op-exporter Version ${{ needs.canary-publish.outputs.canary-docker-tag }}
......
...@@ -20,7 +20,7 @@ jobs: ...@@ -20,7 +20,7 @@ jobs:
balance-mon: ${{ steps.packages.outputs.drippie-mon }} balance-mon: ${{ steps.packages.outputs.drippie-mon }}
drippie-mon: ${{ steps.packages.outputs.drippie-mon }} drippie-mon: ${{ steps.packages.outputs.drippie-mon }}
wd-mon: ${{ steps.packages.outputs.wd-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 }} op-exporter: ${{ steps.packages.outputs.op-exporter }}
endpoint-monitor: ${{ steps.packages.outputs.endpoint-monitor }} endpoint-monitor: ${{ steps.packages.outputs.endpoint-monitor }}
# Permissions necessary for Changesets to push a new branch and open PRs # Permissions necessary for Changesets to push a new branch and open PRs
...@@ -213,10 +213,10 @@ jobs: ...@@ -213,10 +213,10 @@ jobs:
push: true push: true
tags: ethereumoptimism/drippie-mon:${{ needs.release.outputs.drippie-mon }},ethereumoptimism/drippie-mon:latest tags: ethereumoptimism/drippie-mon:${{ needs.release.outputs.drippie-mon }},ethereumoptimism/drippie-mon:latest
replica-healthcheck: replica-mon:
name: Publish Replica Healthcheck Version ${{ needs.release.outputs.replica-healthcheck }} name: Publish Replica Healthcheck Version ${{ needs.release.outputs.replica-mon }}
needs: release needs: release
if: needs.release.outputs.replica-healthcheck != '' if: needs.release.outputs.replica-mon != ''
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
...@@ -236,9 +236,9 @@ jobs: ...@@ -236,9 +236,9 @@ jobs:
with: with:
context: . context: .
file: ./ops/docker/Dockerfile.packages file: ./ops/docker/Dockerfile.packages
target: replica-healthcheck target: replica-mon
push: true 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: endpoint-monitor:
name: Publish endpoint-monitor Version ${{ needs.release.outputs.endpoint-monitor}} name: Publish endpoint-monitor Version ${{ needs.release.outputs.endpoint-monitor}}
......
...@@ -54,7 +54,6 @@ Refer to the Directory Structure section below to understand which packages are ...@@ -54,7 +54,6 @@ Refer to the Directory Structure section below to understand which packages are
│ ├── <a href="./packages/contracts-bedrock">contracts-bedrock</a>: Bedrock smart contracts. │ ├── <a href="./packages/contracts-bedrock">contracts-bedrock</a>: Bedrock smart contracts.
│ ├── <a href="./packages/core-utils">core-utils</a>: Low-level utilities that make building Optimism easier │ ├── <a href="./packages/core-utils">core-utils</a>: Low-level utilities that make building Optimism easier
│ ├── <a href="./packages/chain-mon">chain-mon</a>: Chain monitoring services │ ├── <a href="./packages/chain-mon">chain-mon</a>: Chain monitoring services
│ ├── <a href="./packages/replica-healthcheck">replica-healthcheck</a>: Service for monitoring the health of a replica node
│ └── <a href="./packages/sdk">sdk</a>: provides a set of tools for interacting with Optimism │ └── <a href="./packages/sdk">sdk</a>: provides a set of tools for interacting with Optimism
├── <a href="./op-bindings">op-bindings</a>: Go bindings for Bedrock smart contracts. ├── <a href="./op-bindings">op-bindings</a>: Go bindings for Bedrock smart contracts.
├── <a href="./op-batcher">op-batcher</a>: L2-Batch Submitter, submits bundles of batches to L1 ├── <a href="./op-batcher">op-batcher</a>: 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 ...@@ -79,7 +78,6 @@ Refer to the Directory Structure section below to understand which packages are
│ ├── <a href="./packages/common-ts">common-ts</a>: Common tools for building apps in TypeScript │ ├── <a href="./packages/common-ts">common-ts</a>: Common tools for building apps in TypeScript
│ ├── <a href="./packages/core-utils">core-utils</a>: Low-level utilities that make building Optimism easier │ ├── <a href="./packages/core-utils">core-utils</a>: Low-level utilities that make building Optimism easier
│ ├── <a href="./packages/chain-mon">chain-mon</a>: Chain monitoring services │ ├── <a href="./packages/chain-mon">chain-mon</a>: Chain monitoring services
│ ├── <a href="./packages/replica-healthcheck">replica-healthcheck</a>: Service for monitoring the health of a replica node
│ └── <a href="./packages/sdk">sdk</a>: provides a set of tools for interacting with Optimism │ └── <a href="./packages/sdk">sdk</a>: provides a set of tools for interacting with Optimism
├── <a href="./indexer">indexer</a>: indexes and syncs transactions ├── <a href="./indexer">indexer</a>: indexes and syncs transactions
├── <a href="./op-exporter">op-exporter</a>: A prometheus exporter to collect/serve metrics from an Optimism node ├── <a href="./op-exporter">op-exporter</a>: A prometheus exporter to collect/serve metrics from an Optimism node
......
...@@ -36,5 +36,4 @@ flag_management: ...@@ -36,5 +36,4 @@ flag_management:
- name: core-utils-tests - name: core-utils-tests
- name: dtl-tests - name: dtl-tests
- name: chain-mon-tests - name: chain-mon-tests
- name: replica-healthcheck-tests
- name: sdk-tests - name: sdk-tests
...@@ -79,9 +79,9 @@ RUN git submodule update --init --recursive ...@@ -79,9 +79,9 @@ RUN git submodule update --init --recursive
RUN pnpm build RUN pnpm build
FROM base as replica-healthcheck FROM base as replica-mon
WORKDIR /opt/optimism/packages/replica-healthcheck WORKDIR /opt/optimism/packages/chain-mon
ENTRYPOINT ["pnpm", "run", "start"] ENTRYPOINT ["pnpm", "run", "start:replica-mon"]
FROM base as balance-mon FROM base as balance-mon
WORKDIR /opt/optimism/packages/chain-mon WORKDIR /opt/optimism/packages/chain-mon
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
"start:drippie-mon": "ts-node ./src/drippie-mon/service.ts", "start:drippie-mon": "ts-node ./src/drippie-mon/service.ts",
"start:wd-mon": "ts-node ./src/wd-mon/service.ts", "start:wd-mon": "ts-node ./src/wd-mon/service.ts",
"start:fault-mon": "ts-node ./src/fault-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": "hardhat test",
"test:coverage": "nyc hardhat test && nyc merge .nyc_output coverage.json", "test:coverage": "nyc hardhat test && nyc merge .nyc_output coverage.json",
"build": "tsc -p ./tsconfig.json", "build": "tsc -p ./tsconfig.json",
......
...@@ -23,11 +23,11 @@ Copy `.env.example` into a new file named `.env`, then set the environment varia ...@@ -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: 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
``` ```
...@@ -8,7 +8,7 @@ import { ...@@ -8,7 +8,7 @@ import {
} from '@eth-optimism/common-ts' } from '@eth-optimism/common-ts'
import { sleep } from '@eth-optimism/core-utils' import { sleep } from '@eth-optimism/core-utils'
import { version } from '../package.json' import { version } from '../../package.json'
type HealthcheckOptions = { type HealthcheckOptions = {
referenceRpcProvider: Provider referenceRpcProvider: Provider
......
HEALTHCHECK__REFERENCE_RPC_PROVIDER=https://mainnet.optimism.io
HEALTHCHECK__TARGET_RPC_PROVIDER=http://localhost:9991
module.exports = {
extends: '../../.eslintrc.js',
}
node_modules/
build/
\ No newline at end of file
module.exports = {
...require('../../.prettierrc.js'),
};
\ No newline at end of file
# @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
(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.
{
"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"
}
}
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./dist"
},
"include": [
"package.json",
"src/**/*"
]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment