Skip to content

Commit

Permalink
test1->test4
Browse files Browse the repository at this point in the history
  • Loading branch information
aroralanuk committed Oct 31, 2024
1 parent 255f598 commit 5edc95a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions typescript/sdk/src/ism/metadata/arbL2ToL1.hardhat-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import { ArbL2ToL1MetadataBuilder } from './arbL2ToL1.js';
import { MetadataContext } from './builder.js';

describe('ArbL2ToL1MetadataBuilder', () => {
const origin: ChainName = 'test1';
const origin: ChainName = 'test4';
const destination: ChainName = 'test2';
let core: HyperlaneCore;
let ismFactory: HyperlaneIsmFactory;
Expand Down Expand Up @@ -93,7 +93,7 @@ describe('ArbL2ToL1MetadataBuilder', () => {
[],
);
hookConfig = {
test1: {
test4: {
type: HookType.ARB_L2_TO_L1,
arbSys: mockArbSys.address,
destinationChain: destination,
Expand All @@ -115,7 +115,7 @@ describe('ArbL2ToL1MetadataBuilder', () => {
},
};

factoryContracts = contractsMap.test1;
factoryContracts = contractsMap.test4;
proxyFactoryAddresses = Object.keys(factoryContracts).reduce((acc, key) => {
acc[key] =
contractsMap[origin][key as keyof ProxyFactoryFactories].address;
Expand All @@ -126,11 +126,11 @@ describe('ArbL2ToL1MetadataBuilder', () => {
new MockArbBridge__factory(),
[],
);
hookConfig.test1.bridge = arbBridge.address;
hookConfig.test4.bridge = arbBridge.address;

const hookModule = await EvmHookModule.create({
chain: origin,
config: hookConfig.test1,
config: hookConfig.test4,
proxyFactoryFactories: proxyFactoryAddresses,
coreAddresses: core.getAddresses(origin),
multiProvider,
Expand Down

0 comments on commit 5edc95a

Please sign in to comment.