chore: rename readers to respective class names (#3757)

pull/3761/head
Paul Balaji 7 months ago committed by GitHub
parent ed7d63d6b0
commit 20eccf3d21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      typescript/sdk/src/core/CoreDeployer.hardhat-test.ts
  2. 4
      typescript/sdk/src/core/EvmCoreReader.ts
  3. 5
      typescript/sdk/src/core/HyperlaneCore.ts
  4. 2
      typescript/sdk/src/hook/EvmHookModule.ts
  5. 2
      typescript/sdk/src/hook/EvmHookReader.test.ts
  6. 0
      typescript/sdk/src/hook/EvmHookReader.ts
  7. 6
      typescript/sdk/src/index.ts
  8. 2
      typescript/sdk/src/ism/EvmIsmModule.ts
  9. 2
      typescript/sdk/src/ism/EvmIsmReader.test.ts
  10. 0
      typescript/sdk/src/ism/EvmIsmReader.ts
  11. 4
      typescript/sdk/src/token/EvmERC20WarpRouteReader.ts
  12. 2
      typescript/sdk/src/token/deploy.hardhat-test.ts

@ -9,18 +9,18 @@ import { TestChainName, testChains } from '../consts/testChains.js';
import { HyperlaneContractsMap } from '../contracts/types.js';
import { HyperlaneProxyFactoryDeployer } from '../deploy/HyperlaneProxyFactoryDeployer.js';
import { HookConfig } from '../hook/types.js';
import { DerivedIsmConfigWithAddress } from '../ism/EvmIsmReader.js';
import { HyperlaneIsmFactory } from '../ism/HyperlaneIsmFactory.js';
import { DerivedIsmConfigWithAddress } from '../ism/read.js';
import { AggregationIsmConfig, IsmType } from '../ism/types.js';
import { MultiProvider } from '../providers/MultiProvider.js';
import { testCoreConfig } from '../test/testUtils.js';
import { ChainMap } from '../types.js';
import { EvmCoreReader } from './EvmCoreReader.js';
import { HyperlaneCore } from './HyperlaneCore.js';
import { HyperlaneCoreChecker } from './HyperlaneCoreChecker.js';
import { HyperlaneCoreDeployer } from './HyperlaneCoreDeployer.js';
import { CoreFactories } from './contracts.js';
import { EvmCoreReader } from './read.js';
import { CoreConfig } from './types.js';
describe('core', async () => {

@ -4,8 +4,8 @@ import { Mailbox__factory } from '@hyperlane-xyz/core';
import { Address, objMap, promiseObjAll } from '@hyperlane-xyz/utils';
import { DEFAULT_CONTRACT_READ_CONCURRENCY } from '../consts/concurrency.js';
import { EvmHookReader } from '../hook/read.js';
import { EvmIsmReader } from '../ism/read.js';
import { EvmHookReader } from '../hook/EvmHookReader.js';
import { EvmIsmReader } from '../ism/EvmIsmReader.js';
import { MultiProvider } from '../providers/MultiProvider.js';
import { ChainNameOrId } from '../types.js';

@ -19,7 +19,10 @@ import { HyperlaneApp } from '../app/HyperlaneApp.js';
import { appFromAddressesMapHelper } from '../contracts/contracts.js';
import { HyperlaneAddressesMap } from '../contracts/types.js';
import { OwnableConfig } from '../deploy/types.js';
import { DerivedIsmConfigWithAddress, EvmIsmReader } from '../ism/read.js';
import {
DerivedIsmConfigWithAddress,
EvmIsmReader,
} from '../ism/EvmIsmReader.js';
import { IsmType, ModuleType, ismTypeToModuleType } from '../ism/types.js';
import { MultiProvider } from '../providers/MultiProvider.js';
import { RouterConfig } from '../router/types.js';

@ -9,8 +9,8 @@ import { HyperlaneDeployer } from '../deploy/HyperlaneDeployer.js';
import { MultiProvider } from '../providers/MultiProvider.js';
import { EthersV5Transaction } from '../providers/ProviderType.js';
import { EvmHookReader } from './EvmHookReader.js';
import { HookFactories } from './contracts.js';
import { EvmHookReader } from './read.js';
import { HookConfig } from './types.js';
// WIP example implementation of EvmHookModule

@ -19,7 +19,7 @@ import { WithAddress } from '@hyperlane-xyz/utils';
import { TestChainName, test1 } from '../consts/testChains.js';
import { MultiProvider } from '../providers/MultiProvider.js';
import { EvmHookReader } from './read.js';
import { EvmHookReader } from './EvmHookReader.js';
import {
HookType,
MerkleTreeHookConfig,

@ -65,7 +65,7 @@ export {
coreFactories,
} from './core/contracts.js';
export { HyperlaneLifecyleEvent } from './core/events.js';
export { EvmCoreReader } from './core/read.js';
export { EvmCoreReader } from './core/EvmCoreReader.js';
export {
CoreConfig,
CoreViolationType,
@ -124,7 +124,7 @@ export {
IgpViolationType,
} from './gas/types.js';
export { HyperlaneHookDeployer } from './hook/HyperlaneHookDeployer.js';
export { EvmHookReader } from './hook/read.js';
export { EvmHookReader } from './hook/EvmHookReader.js';
export {
AggregationHookConfig,
DomainRoutingHookConfig,
@ -143,7 +143,7 @@ export {
buildAggregationIsmConfigs,
buildMultisigIsmConfigs,
} from './ism/multisig.js';
export { EvmIsmReader } from './ism/read.js';
export { EvmIsmReader } from './ism/EvmIsmReader.js';
export {
AggregationIsmConfig,
DeployedIsm,

@ -12,7 +12,7 @@ import { EthersV5Transaction } from '../providers/ProviderType.js';
import { ChainNameOrId } from '../types.js';
import { EvmIsmCreator } from './EvmIsmCreator.js';
import { EvmIsmReader } from './read.js';
import { EvmIsmReader } from './EvmIsmReader.js';
import { IsmConfig } from './types.js';
export class EvmIsmModule extends HyperlaneModule<

@ -21,7 +21,7 @@ import { WithAddress } from '@hyperlane-xyz/utils';
import { TestChainName } from '../consts/testChains.js';
import { MultiProvider } from '../providers/MultiProvider.js';
import { EvmIsmReader } from './read.js';
import { EvmIsmReader } from './EvmIsmReader.js';
import {
IsmType,
ModuleType,

@ -8,8 +8,8 @@ import { ERC20Metadata, ERC20RouterConfig } from '@hyperlane-xyz/sdk';
import { Address } from '@hyperlane-xyz/utils';
import { DEFAULT_CONTRACT_READ_CONCURRENCY } from '../consts/concurrency.js';
import { EvmHookReader } from '../hook/read.js';
import { EvmIsmReader } from '../ism/read.js';
import { EvmHookReader } from '../hook/EvmHookReader.js';
import { EvmIsmReader } from '../ism/EvmIsmReader.js';
import { MultiProvider } from '../providers/MultiProvider.js';
import { ChainName } from '../types.js';

@ -17,6 +17,7 @@ import { HyperlaneIsmFactory } from '../ism/HyperlaneIsmFactory.js';
import { MultiProvider } from '../providers/MultiProvider.js';
import { ChainMap } from '../types.js';
import { EvmERC20WarpRouteReader } from './EvmERC20WarpRouteReader.js';
import {
HypERC20CollateralConfig,
HypERC20Config,
@ -24,7 +25,6 @@ import {
TokenType,
} from './config.js';
import { HypERC20Deployer } from './deploy.js';
import { EvmERC20WarpRouteReader } from './read.js';
import { WarpRouteDeployConfig } from './types.js';
describe('TokenDeployer', async () => {

Loading…
Cancel
Save