Skip to content

Commit

Permalink
refactor: use canonical openzeppelin remappings
Browse files Browse the repository at this point in the history
  • Loading branch information
pik694 committed Nov 26, 2024
1 parent e622348 commit d59816d
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion contracts/script/Manage.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pragma solidity ^0.8.9;

import {Script} from "forge-std/Script.sol";
import {console2} from "forge-std/console2.sol";
import {TimelockController} from "openzeppelin/contracts/governance/TimelockController.sol";
import {TimelockController} from "openzeppelin-contracts/governance/TimelockController.sol";
import {RiscZeroVerifierRouter} from "../src/RiscZeroVerifierRouter.sol";
import {RiscZeroVerifierEmergencyStop} from "../src/RiscZeroVerifierEmergencyStop.sol";
import {IRiscZeroVerifier} from "../src//IRiscZeroVerifier.sol";
Expand Down
4 changes: 2 additions & 2 deletions contracts/src/RiscZeroVerifierEmergencyStop.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

pragma solidity ^0.8.9;

import {Ownable, Ownable2Step} from "openzeppelin/contracts/access/Ownable2Step.sol";
import {Pausable} from "openzeppelin/contracts/utils/Pausable.sol";
import {Ownable, Ownable2Step} from "openzeppelin-contracts/access/Ownable2Step.sol";
import {Pausable} from "openzeppelin-contracts/utils/Pausable.sol";

import {IRiscZeroVerifier, Receipt} from "./IRiscZeroVerifier.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/src/RiscZeroVerifierRouter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

pragma solidity ^0.8.9;

import {Ownable, Ownable2Step} from "openzeppelin/contracts/access/Ownable2Step.sol";
import {Ownable, Ownable2Step} from "openzeppelin-contracts/access/Ownable2Step.sol";

import {IRiscZeroVerifier, Receipt} from "./IRiscZeroVerifier.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/src/StructHash.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

pragma solidity ^0.8.9;

import {SafeCast} from "openzeppelin/contracts/utils/math/SafeCast.sol";
import {SafeCast} from "openzeppelin-contracts/utils/math/SafeCast.sol";

import {reverseByteOrderUint16} from "./Util.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/src/groth16/RiscZeroGroth16Verifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

pragma solidity ^0.8.9;

import {SafeCast} from "openzeppelin/contracts/utils/math/SafeCast.sol";
import {SafeCast} from "openzeppelin-contracts/utils/math/SafeCast.sol";

import {ControlID} from "./ControlID.sol";
import {Groth16Verifier} from "./Groth16Verifier.sol";
Expand Down
4 changes: 2 additions & 2 deletions contracts/test/RiscZeroVerifierEmergencyStop.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ pragma solidity ^0.8.13;

import {Test} from "forge-std/Test.sol";
import {console2} from "forge-std/console2.sol";
import {Ownable} from "openzeppelin/contracts/access/Ownable.sol";
import {Pausable} from "openzeppelin/contracts/utils/Pausable.sol";
import {Ownable} from "openzeppelin-contracts/access/Ownable.sol";
import {Pausable} from "openzeppelin-contracts/utils/Pausable.sol";

import {
IRiscZeroVerifier,
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/RiscZeroVerifierRouter.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pragma solidity ^0.8.13;

import {Test} from "forge-std/Test.sol";
import {console2} from "forge-std/console2.sol";
import {Ownable} from "openzeppelin/contracts/access/Ownable.sol";
import {Ownable} from "openzeppelin-contracts/access/Ownable.sol";

import {
IRiscZeroVerifier,
Expand Down

0 comments on commit d59816d

Please sign in to comment.