wormhole/ethereum/contracts/mock/MockImplementation.sol

18 lines
469 B
Solidity

// contracts/Implementation.sol
// SPDX-License-Identifier: Apache 2
pragma solidity ^0.8.0;
import "../Implementation.sol";
contract MockImplementation is Implementation {
function testNewImplementationActive() external pure returns (bool) {
return true;
}
function testOverwriteEVMChainId(uint16 fakeChainId, uint256 fakeEvmChainId) external {
_state.provider.chainId = fakeChainId;
_state.evmChainId = fakeEvmChainId;
}
}