Skip to content

Commit

Permalink
Merge pull request #78 from bgd-labs/fix/fix-lz-tests
Browse files Browse the repository at this point in the history
fix: fixed layerzero tests
  • Loading branch information
kyzia551 authored Jun 12, 2024
2 parents 5243ca2 + cb2fd05 commit 07bab8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/adapters/LayerZeroAdapter.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ contract LayerZeroAdapterTest is BaseAdapterTest {
originConfigs[0] = originConfig;

layerZeroAdapter = new LayerZeroAdapter(
lzEndpoint,
crossChainController,
lzEndpoint,
baseGasLimit,
originConfigs
);
Expand Down Expand Up @@ -63,7 +63,7 @@ contract LayerZeroAdapterTest is BaseAdapterTest {
originConfigs[0] = originConfig;

vm.expectRevert(bytes(Errors.INVALID_LZ_ENDPOINT));
new LayerZeroAdapter(address(0), crossChainController, baseGasLimit, originConfigs);
new LayerZeroAdapter(crossChainController, address(0), baseGasLimit, originConfigs);
}

function testInit(
Expand Down

0 comments on commit 07bab8f

Please sign in to comment.