Skip to content

Commit

Permalink
chore: fix SecondOpinionOracleMock naming
Browse files Browse the repository at this point in the history
  • Loading branch information
tamtamchik committed Oct 14, 2024
1 parent 7dea205 commit 5888b1c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface ISecondOpinionOracle {
returns (bool success, uint256 clBalanceGwei, uint256 withdrawalVaultBalanceWei, uint256 numValidators, uint256 exitedValidators);
}

contract SecondOpinionOracleMock is ISecondOpinionOracle {
contract SecondOpinionOracle__Mock is ISecondOpinionOracle {

struct Report {
bool success;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe("OracleReportSanityChecker.sol:negative-rebase", () => {
let originalState: string;

const deploySecondOpinionOracle = async () => {
const secondOpinionOracle = await ethers.deployContract("SecondOpinionOracleMock");
const secondOpinionOracle = await ethers.deployContract("SecondOpinionOracle__Mock");

const clOraclesRole = await checker.SECOND_OPINION_MANAGER_ROLE();
await checker.grantRole(clOraclesRole, deployer.address);
Expand Down
6 changes: 3 additions & 3 deletions test/integration/second-opinion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ethers } from "hardhat";

import { HardhatEthersSigner } from "@nomicfoundation/hardhat-ethers/signers";

import { SecondOpinionOracleMock } from "typechain-types";
import { SecondOpinionOracle__Mock } from "typechain-types";

import { ether, impersonate, log, ONE_GWEI } from "lib";
import { getProtocolContext, ProtocolContext } from "lib/protocol";
Expand Down Expand Up @@ -32,7 +32,7 @@ describe("Second opinion", () => {
let snapshot: string;
let originalState: string;

let secondOpinion: SecondOpinionOracleMock;
let secondOpinion: SecondOpinionOracle__Mock;
let totalSupply: bigint;

before(async () => {
Expand Down Expand Up @@ -66,7 +66,7 @@ describe("Second opinion", () => {
const dsmSigner = await impersonate(depositSecurityModule.address, AMOUNT);
await lido.connect(dsmSigner).deposit(MAX_DEPOSIT, CURATED_MODULE_ID, ZERO_HASH);

secondOpinion = await ethers.deployContract("SecondOpinionOracleMock", []);
secondOpinion = await ethers.deployContract("SecondOpinionOracle__Mock", []);
const soAddress = await secondOpinion.getAddress();

const agentSigner = await ctx.getSigner("agent", AMOUNT);
Expand Down

0 comments on commit 5888b1c

Please sign in to comment.