Skip to content

Outdated code and addresses in Optimistic Oracle Getting Started guide #26

@TITC

Description

@TITC

Hello UMA team,

While following the Getting Started guide, I noticed that some parts of the example contract are outdated:

  1. Interface path – The OptimisticOracleV2Interface.sol link in the guide points to

    /packages/core/contracts/oracle/interfaces/OptimisticOracleV2Interface.sol
    

    which no longer exists. The current path appears to be:

    /packages/core/contracts/optimistic-oracle-v2/interfaces/OptimisticOracleV2Interface.sol
    
  2. Network and addresses – The example uses Görli testnet addresses, which are deprecated.
    For Sepolia (chain ID 11155111), I updated:

    • OptimisticOracleV2Interface to 0x9f1263B8f0355673619168b5B8c0248f1d03e88C from network JSON
    • WETH (IERC20) to 0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9 (from Sepolia Etherscan)
  3. After these changes, I was able to compile and deploy the contract via Remix, and successfully call requestData().


Here are some transaction details from my successful deployment and requestData() call:

Deployment transaction:

requestData() transaction:

Despite this, I cannot see the request on the UMA Testnet Oracle Explorer.

Could you clarify if additional steps are required for requests to appear there, or if there is a delay/update needed for Sepolia testnet visibility?

Thank you again for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions