28 lines
795 B
Solidity
28 lines
795 B
Solidity
|
|
// SPDX-License-Identifier: MIT
|
||
|
|
pragma solidity ^0.8.19;
|
||
|
|
|
||
|
|
import "forge-std/Test.sol";
|
||
|
|
import {TwoWayTokenBridgeL1} from "../contracts/bridge/TwoWayTokenBridgeL1.sol";
|
||
|
|
import {TwoWayTokenBridgeL2} from "../contracts/bridge/TwoWayTokenBridgeL2.sol";
|
||
|
|
|
||
|
|
contract DummyRouter {
|
||
|
|
struct Any2EVMMessage {
|
||
|
|
bytes32 messageId;
|
||
|
|
uint64 sourceChainSelector;
|
||
|
|
bytes sender;
|
||
|
|
bytes data;
|
||
|
|
TokenAmount[] tokenAmounts;
|
||
|
|
}
|
||
|
|
struct TokenAmount { address token; uint256 amount; }
|
||
|
|
function getFee(uint64, bytes memory) external pure returns (uint256) { return 0; }
|
||
|
|
}
|
||
|
|
|
||
|
|
contract TwoWayBridgeTest is Test {
|
||
|
|
// Placeholder tests to ensure compilation; full router mocks omitted for brevity
|
||
|
|
function testPlaceholder() public {
|
||
|
|
assertTrue(true);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
|