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

Use non-reserved addresses for CrossChainReceiverTest #3

Merged
merged 2 commits into from
Apr 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tests/CrossChainReceiver.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import {BaseTest} from './BaseTest.sol';
import {Transaction, Envelope} from '../src/contracts/libs/EncodingUtils.sol';

contract CrossChainReceiverTest is BaseTest {
address public constant GUARDIAN = address(12);
address public constant OWNER = address(123);
address public constant BRIDGE_ADAPTER = address(1234);
address public constant BRIDGE_ADAPTER_2 = address(1234567);
address public constant GUARDIAN = address(65535 + 12);
Karrq marked this conversation as resolved.
Show resolved Hide resolved
address public constant OWNER = address(65535 + 123);
address public constant BRIDGE_ADAPTER = address(65535 + 1234);
address public constant BRIDGE_ADAPTER_2 = address(65535 + 1234567);

address public constant GOVERNANCE_CORE = address(12345);
address public constant VOTING_MACHINE = address(123456);
address public constant GOVERNANCE_CORE = address(65535 + 12345);
address public constant VOTING_MACHINE = address(65535 + 123456);
uint256 public constant DEFAULT_ORIGIN_CHAIN_ID = 1;

ICrossChainReceiver public crossChainReceiver;
Expand Down