Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in OO Quick Start #11

Open
vestival opened this issue Feb 14, 2023 · 1 comment
Open

Error in OO Quick Start #11

vestival opened this issue Feb 14, 2023 · 1 comment

Comments

@vestival
Copy link

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";

// *************************************
@SyedImam1998
Copy link

Hi Team,

I have raised a PR regarding this issue. team can you please look into it.
Here is the Pr #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants