From 7f25ed7685e969d604c557f210623c7e44a750c9 Mon Sep 17 00:00:00 2001 From: daveroga Date: Wed, 15 Jan 2025 08:11:41 +0100 Subject: [PATCH] fix ownable upgradeable like the other validator contracts --- contracts/validators/LinkedMultiQueryValidator.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/validators/LinkedMultiQueryValidator.sol b/contracts/validators/LinkedMultiQueryValidator.sol index 8b6e7939..ca9abd03 100644 --- a/contracts/validators/LinkedMultiQueryValidator.sol +++ b/contracts/validators/LinkedMultiQueryValidator.sol @@ -5,10 +5,10 @@ import {ICircuitValidator} from "../interfaces/ICircuitValidator.sol"; import {IGroth16Verifier} from "../interfaces/IGroth16Verifier.sol"; import {IRequestValidator} from "../interfaces/IRequestValidator.sol"; import {IState} from "../interfaces/IState.sol"; -import {OwnableUpgradeable} from "../.deps/npm/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; +import {Ownable2StepUpgradeable} from "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol"; import {Strings} from "@openzeppelin/contracts/utils/Strings.sol"; -contract LinkedMultiQueryValidator is IRequestValidator, OwnableUpgradeable { +contract LinkedMultiQueryValidator is IRequestValidator, Ownable2StepUpgradeable { // This should be limited to the real number of queries in which operator != 0 struct Query { uint256[] claimPathKey;