From bc1e120870b4d076391ff5982655032960bc2a71 Mon Sep 17 00:00:00 2001 From: "fateme.r" Date: Mon, 14 Oct 2024 15:23:30 +0330 Subject: [PATCH 1/3] update version --- .changeset/angry-buttons-sniff.md | 5 ----- .changeset/bright-zebras-visit.md | 5 ----- .changeset/four-paws-laugh.md | 5 ----- .changeset/giant-turtles-cough.md | 5 ----- .changeset/hot-carrots-refuse.md | 5 ----- .changeset/long-tips-collect.md | 5 ----- .changeset/mean-geckos-tie.md | 5 ----- .changeset/nervous-ants-pay.md | 5 ----- .changeset/proud-deers-float.md | 5 ----- .changeset/purple-ducks-whisper.md | 5 ----- .changeset/rude-melons-work.md | 5 ----- .changeset/selfish-impalas-design.md | 5 ----- .changeset/tasty-berries-smoke.md | 5 ----- .changeset/ten-islands-try.md | 5 ----- .changeset/tricky-vans-cry.md | 5 ----- ...{hip-parrots-buy.md => witty-maps-camp.md} | 0 .changeset/yellow-lizards-love.md | 5 ----- CHANGELOG.md | 22 +++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 20 files changed, 25 insertions(+), 83 deletions(-) delete mode 100644 .changeset/angry-buttons-sniff.md delete mode 100644 .changeset/bright-zebras-visit.md delete mode 100644 .changeset/four-paws-laugh.md delete mode 100644 .changeset/giant-turtles-cough.md delete mode 100644 .changeset/hot-carrots-refuse.md delete mode 100644 .changeset/long-tips-collect.md delete mode 100644 .changeset/mean-geckos-tie.md delete mode 100644 .changeset/nervous-ants-pay.md delete mode 100644 .changeset/proud-deers-float.md delete mode 100644 .changeset/purple-ducks-whisper.md delete mode 100644 .changeset/rude-melons-work.md delete mode 100644 .changeset/selfish-impalas-design.md delete mode 100644 .changeset/tasty-berries-smoke.md delete mode 100644 .changeset/ten-islands-try.md delete mode 100644 .changeset/tricky-vans-cry.md rename .changeset/{hip-parrots-buy.md => witty-maps-camp.md} (100%) delete mode 100644 .changeset/yellow-lizards-love.md diff --git a/.changeset/angry-buttons-sniff.md b/.changeset/angry-buttons-sniff.md deleted file mode 100644 index 2559149..0000000 --- a/.changeset/angry-buttons-sniff.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': minor ---- - -Add warn level to logger health parameter and tune the thresholds diff --git a/.changeset/bright-zebras-visit.md b/.changeset/bright-zebras-visit.md deleted file mode 100644 index 44e5c17..0000000 --- a/.changeset/bright-zebras-visit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': major ---- - -support contract and tokensMap version and update info controller for version configs diff --git a/.changeset/four-paws-laugh.md b/.changeset/four-paws-laugh.md deleted file mode 100644 index 35036c8..0000000 --- a/.changeset/four-paws-laugh.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': minor ---- - -Add notification and its configurations to health check diff --git a/.changeset/giant-turtles-cough.md b/.changeset/giant-turtles-cough.md deleted file mode 100644 index 31b1d14..0000000 --- a/.changeset/giant-turtles-cough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': minor ---- - -Update Node version to 18 diff --git a/.changeset/hot-carrots-refuse.md b/.changeset/hot-carrots-refuse.md deleted file mode 100644 index 2ff06e4..0000000 --- a/.changeset/hot-carrots-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': minor ---- - -Update health check APIs regarding to latest changes diff --git a/.changeset/long-tips-collect.md b/.changeset/long-tips-collect.md deleted file mode 100644 index 9da9fa5..0000000 --- a/.changeset/long-tips-collect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': patch ---- - -Fix decimal for tokens with significant decimal equal to 0 diff --git a/.changeset/mean-geckos-tie.md b/.changeset/mean-geckos-tie.md deleted file mode 100644 index acc2faa..0000000 --- a/.changeset/mean-geckos-tie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': patch ---- - -Update scanner pacakges diff --git a/.changeset/nervous-ants-pay.md b/.changeset/nervous-ants-pay.md deleted file mode 100644 index 5229cab..0000000 --- a/.changeset/nervous-ants-pay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': minor ---- - -Add ethereum health check parameters diff --git a/.changeset/proud-deers-float.md b/.changeset/proud-deers-float.md deleted file mode 100644 index 3fcf59c..0000000 --- a/.changeset/proud-deers-float.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': patch ---- - -Always check ergo node sync status as health a parameter diff --git a/.changeset/purple-ducks-whisper.md b/.changeset/purple-ducks-whisper.md deleted file mode 100644 index 7d26087..0000000 --- a/.changeset/purple-ducks-whisper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': patch ---- - -Stabalize ogmios connection by adding connection close handler diff --git a/.changeset/rude-melons-work.md b/.changeset/rude-melons-work.md deleted file mode 100644 index f4d7548..0000000 --- a/.changeset/rude-melons-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': patch ---- - -Update ogmios client and schema diff --git a/.changeset/selfish-impalas-design.md b/.changeset/selfish-impalas-design.md deleted file mode 100644 index d4f19e6..0000000 --- a/.changeset/selfish-impalas-design.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': patch ---- - -Logging current watcher version diff --git a/.changeset/tasty-berries-smoke.md b/.changeset/tasty-berries-smoke.md deleted file mode 100644 index 790debf..0000000 --- a/.changeset/tasty-berries-smoke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': minor ---- - -Integrate Ethereum network diff --git a/.changeset/ten-islands-try.md b/.changeset/ten-islands-try.md deleted file mode 100644 index f2cc9c4..0000000 --- a/.changeset/ten-islands-try.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': patch ---- - -Update significant decimal for tokens that are already stored in db diff --git a/.changeset/tricky-vans-cry.md b/.changeset/tricky-vans-cry.md deleted file mode 100644 index c586cd4..0000000 --- a/.changeset/tricky-vans-cry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': patch ---- - -Fix watcher network switch in scanner init diff --git a/.changeset/hip-parrots-buy.md b/.changeset/witty-maps-camp.md similarity index 100% rename from .changeset/hip-parrots-buy.md rename to .changeset/witty-maps-camp.md diff --git a/.changeset/yellow-lizards-love.md b/.changeset/yellow-lizards-love.md deleted file mode 100644 index 2123092..0000000 --- a/.changeset/yellow-lizards-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/watcher': major ---- - -Update watcher regarding to decimal drop refactor diff --git a/CHANGELOG.md b/CHANGELOG.md index 8aa3763..4728676 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # @rosen-bridge/watcher +## 4.0.0 + +### Major Changes + +- Support contract and tokensMap version and update info controller for version configs +- Update watcher regarding to decimal drop refactor + +### Minor Changes + +- Add warn level to logger health parameter and tune the thresholds +- Add ethereum health check parameters +- Integrate Ethereum network + +### Patch Changes + +- Fix decimal for tokens with significant decimal equal to 0 +- Update scanner packages +- Always check ergo node sync status as a health parameter +- Log current watcher version +- Update significant decimal for tokens that are already stored in db +- Fix watcher network switch in scanner init + ## 3.2.2 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index 4b6ce8c..b180088 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@rosen-bridge/watcher", - "version": "3.2.2", + "version": "4.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@rosen-bridge/watcher", - "version": "3.2.2", + "version": "4.0.0", "hasInstallScript": true, "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index 3f64fa0..7d6a501 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-bridge/watcher", - "version": "3.2.2", + "version": "4.0.0", "description": "Rosen bridge Watcher service", "main": "index.js", "type": "module", From 71cb1644d9993654d92e1bfb3846d93a378af06f Mon Sep 17 00:00:00 2001 From: "fateme.r" Date: Mon, 14 Oct 2024 16:00:30 +0330 Subject: [PATCH 2/3] add ethereum custom environment variable --- docker/custom-environment-variables.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/custom-environment-variables.yaml b/docker/custom-environment-variables.yaml index 710b2d4..980bb15 100644 --- a/docker/custom-environment-variables.yaml +++ b/docker/custom-environment-variables.yaml @@ -15,4 +15,7 @@ cardano: authToken: 'KOIOS_AUTH_TOKEN' blockfrost: projectId: 'BLOCKFROST_PROJECT_ID' +ethereum: + rpc: + authToken: 'ETHEREUM_RPC_AUTH_TOKEN' overrideLokiBasicAuth: 'OVERRIDE_LOKI_BASIC_AUTH' From 5daeb1ec1bde3f47d0f6deb24b10368aab430368 Mon Sep 17 00:00:00 2001 From: "fateme.r" Date: Mon, 14 Oct 2024 16:58:58 +0330 Subject: [PATCH 3/3] Fix changelog --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4728676..02d75c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,6 @@ ### Patch Changes -- Fix decimal for tokens with significant decimal equal to 0 - Update scanner packages - Always check ergo node sync status as a health parameter - Log current watcher version