add setKeepRegistry in test System
to avoid passing more addresses via setExternalAddresses
@@ -18,6 +18,10 @@ contract TBTCSystemStub is TBTCSystem {
oraclePrice = _oraclePrice;
}
+ function setKeepRegistry(address _keepRegistry) external {
+ keepRegistry = _keepRegistry;
+ }
+
/// @dev Override TBTCSystem.fetchBitcoinPrice, don't call out to the price feed.
function fetchBitcoinPrice() external view returns (uint256) {
return oraclePrice;
