wormhole/ethereum/contracts/pyth/mock/MockBridgeImplementation.sol

17 lines
413 B
Solidity

// contracts/Implementation.sol
// SPDX-License-Identifier: Apache 2
pragma solidity ^0.8.0;
import "../PythImplementation.sol";
contract MockPythImplementation is PythImplementation {
function initialize() initializer public {
// this function needs to be exposed for an upgrade to pass
}
function testNewImplementationActive() external pure returns (bool) {
return true;
}
}