From 730d3dd8a76fe08aa0b693f3b920ea74dbe89acd Mon Sep 17 00:00:00 2001 From: tilacog Date: Thu, 8 Dec 2022 17:34:54 -0300 Subject: [PATCH] indexer-{agent,common}: updated changelog --- packages/indexer-agent/CHANGELOG.md | 2 ++ packages/indexer-common/CHANGELOG.md | 2 ++ packages/indexer-common/src/indexer-management/types.ts | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/indexer-agent/CHANGELOG.md b/packages/indexer-agent/CHANGELOG.md index 08902aeb0..443841555 100644 --- a/packages/indexer-agent/CHANGELOG.md +++ b/packages/indexer-agent/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Removed +- The `ethereum-network` command line argument is no longer required. ## [0.20.4] - 2022-09-29 ### Added diff --git a/packages/indexer-common/CHANGELOG.md b/packages/indexer-common/CHANGELOG.md index 523b7a05a..f9d0b3780 100644 --- a/packages/indexer-common/CHANGELOG.md +++ b/packages/indexer-common/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed +- The `ethereum-network` is now inferred from provider's `chainId` ## [0.20.4] - 2022-09-29 ### Fixed diff --git a/packages/indexer-common/src/indexer-management/types.ts b/packages/indexer-common/src/indexer-management/types.ts index c498cf230..129061791 100644 --- a/packages/indexer-common/src/indexer-management/types.ts +++ b/packages/indexer-common/src/indexer-management/types.ts @@ -161,7 +161,7 @@ const Caip2ByChainId: { [key: number]: string } = { 100: 'eip155:100', } -/// Unified entryfpoint to resolve CAIP ID based either on chain aliases (strings) +/// Unified entrypoint to resolve CAIP ID based either on chain aliases (strings) /// or chain ids (numbers). export function resolveChainId(key: number | string): string { if (typeof key === 'number') {