Skip to content

Commit

Permalink
refactor(Mocks): using mocks from CGP and SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
re1ro committed Nov 2, 2023
1 parent 85be3e9 commit 40b3d6a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 382 deletions.
251 changes: 0 additions & 251 deletions contracts/test/AxelarGasService.sol

This file was deleted.

7 changes: 7 additions & 0 deletions contracts/test/Imports.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// solhint-disable no-unused-import
import { MockGateway } from '@axelar-network/axelar-gmp-sdk-solidity/contracts/test/mocks/MockGateway.sol';
import { AxelarGasService } from '@axelar-network/axelar-cgp-solidity/contracts/gas-service/AxelarGasService.sol';
123 changes: 0 additions & 123 deletions contracts/test/MockAxelarGateway.sol

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function deployAddressTracker(wallet, chainName, interchainTokenServiceAdd
}

async function deployMockGateway(wallet) {
const gateway = await deployContract(wallet, 'MockAxelarGateway');
const gateway = await deployContract(wallet, 'MockGateway');
return gateway;
}

Expand Down
Loading

0 comments on commit 40b3d6a

Please sign in to comment.