Skip to content

Error in OO Quick Start  #11

@vestival

Description

@vestival

While doing the Quickstart located at https://docs.umaproject.org/developers/optimistic-oracle/getting-started and going to the example contract in Remix located at https://remix.ethereum.org/#version=soljson-v0.8.16+commit.07a7930e.js&optimize=false&runs=200&gist=fba5d2812d940759f4f7585741b529a4 I cannot compile the contract as I get this error

Error: not found https://github.com/UMAprotocol/protocol/blob/master/packages/core/contracts/oracle/interfaces/OptimisticOracleV2Interface.sol

And when I checked, there is not interfaces folder in https://github.com/UMAprotocol/protocol/blob/master/packages/core/contracts/oracle/ and now it's been moved to https://github.com/UMAprotocol/protocol/blob/master/packages/core/contracts/optimistic-oracle/interfaces/OptimisticOracleV2Interface.sol

When I modify the Remix contract with the new URL it just works

// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.14;

import "https://github.com/UMAprotocol/protocol/blob/master/packages/core/contracts/optimistic-oracle/interfaces/OptimisticOracleV2Interface.sol";

// *************************************

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions