synapsecns/sanguine

View on GitHub
packages/contracts-rfq/test/FastBridgeV2.GasBench.Dst.Excl.t.sol

Summary

Maintainability
Test Coverage
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import {FastBridgeV2GasBenchmarkDstTest} from "./FastBridgeV2.GasBench.Dst.t.sol";

// solhint-disable func-name-mixedcase, no-empty-blocks
contract FastBridgeV2GasBenchmarkDstExclusivityTest is FastBridgeV2GasBenchmarkDstTest {
    uint256 public constant EXCLUSIVITY_PERIOD = 60 seconds;

    /// @notice We include an empty "test" function so that this contract does not appear in the coverage report.
    function testFastBridgeV2GasBenchmarkDstExclusivityTest() external {}

    function setUp() public virtual override {
        super.setUp();
        skip({time: EXCLUSIVITY_PERIOD / 2});
    }

    function createFixturesV2() public virtual override {
        super.createFixturesV2();
        setTokenTestExclusivityParams(relayerA, EXCLUSIVITY_PERIOD);
        setEthTestExclusivityParams(relayerA, EXCLUSIVITY_PERIOD);
    }
}