Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Mainnet Fork Tests #416

Merged
merged 13 commits into from
Sep 12, 2024
8 changes: 8 additions & 0 deletions src/contracts/misc/dependencies/Ccip.sol
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,14 @@ interface IUpgradeableLockReleaseTokenPool {
RateLimiter.Config memory inboundConfig
) external;

function setRateLimitAdmin(address rateLimitAdmin) external;

function setBridgeLimitAdmin(address bridgeLimitAdmin) external;

function getRateLimitAdmin() external view returns (address);

function getBridgeLimitAdmin() external view returns (address);

function getBridgeLimit() external view returns (uint256);

function getCurrentOutboundRateLimiterState(
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestGhoBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ import {SampleSwapFreezer} from '../contracts/facilitators/gsm/misc/SampleSwapFr
import {GsmRegistry} from '../contracts/facilitators/gsm/misc/GsmRegistry.sol';
import {IGhoGsmSteward} from '../contracts/misc/interfaces/IGhoGsmSteward.sol';
import {GhoGsmSteward} from '../contracts/misc/GhoGsmSteward.sol';
import {FixedFeeStrategyFactory} from 'src/contracts/facilitators/gsm/feeStrategy/FixedFeeStrategyFactory.sol';
import {FixedFeeStrategyFactory} from '../contracts/facilitators/gsm/feeStrategy/FixedFeeStrategyFactory.sol';

// CCIP contracts
import {MockUpgradeableLockReleaseTokenPool} from './mocks/MockUpgradeableLockReleaseTokenPool.sol';
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestGhoCcipSteward.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.0;

import './TestGhoBase.t.sol';
import {RateLimiter} from 'src/contracts/misc/dependencies/Ccip.sol';
import {RateLimiter} from '../contracts/misc/dependencies/Ccip.sol';

contract TestGhoCcipSteward is TestGhoBase {
RateLimiter.Config rateLimitConfig =
Expand Down
84 changes: 0 additions & 84 deletions src/test/TestGhoStewards.t.sol
miguelmtzinf marked this conversation as resolved.
Outdated
Show resolved Hide resolved

This file was deleted.

Loading
Loading