Skip to content

Commit

Permalink
Shorten remapping path
Browse files Browse the repository at this point in the history
  • Loading branch information
pcw109550 committed Feb 14, 2024
1 parent d706fbf commit 6170346
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rvsol/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ libs = ['lib']
optimizer = true
optimizer_runs = 999999
remappings = [
'@optimism/packages/contracts-bedrock=lib/optimism/packages/contracts-bedrock',
'@optimism/=lib/optimism/packages/contracts-bedrock',
'@openzeppelin/contracts-upgradeable/=lib/optimism/packages/contracts-bedrock/lib/openzeppelin-contracts-upgradeable/contracts',
'@openzeppelin/contracts/=lib/optimism/packages/contracts-bedrock/lib/openzeppelin-contracts/contracts',
'@rari-capital/solmate/=lib/optimism/packages/contracts-bedrock/lib/solmate',
Expand Down
2 changes: 1 addition & 1 deletion rvsol/src/Step.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IPreimageOracle} from "@optimism/packages/contracts-bedrock/src/cannon/interfaces/IPreimageOracle.sol";
import {IPreimageOracle} from "@optimism/src/cannon/interfaces/IPreimageOracle.sol";

contract Step {

Expand Down
2 changes: 1 addition & 1 deletion rvsol/test/Step.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pragma solidity 0.8.15;

import {Test} from "forge-std/Test.sol";
import {Step} from "src/Step.sol";
import {PreimageOracle} from "@optimism/packages/contracts-bedrock/src/cannon/PreimageOracle.sol";
import {PreimageOracle} from "@optimism/src/cannon/PreimageOracle.sol";

contract Step_Test is Test {
PreimageOracle internal oracle;
Expand Down

0 comments on commit 6170346

Please sign in to comment.