Skip to content

Conversation

themacexpert
Copy link
Contributor

@themacexpert themacexpert commented Oct 7, 2025

Description

Decom Razor Network Oracle.
This pull request removes all references and documentation for the Razor Network Oracle integration from the codebase and related files. The changes ensure that Razor Network is no longer listed or available as an oracle option in the documentation and developer resources.

Documentation and Reference Removal:

  • Removed the entire builders/integrations/oracles/razor-network.md documentation file, eliminating instructions and examples for integrating Razor Network Oracle.
  • Deleted the Razor Network Oracle entry from the oracle nodes doc-page list in llms-files/llms-oracle-nodes.txt, so it will no longer be included in generated documentation or developer tools.
  • Removed the full content for the Razor Network Oracle from the doc-content section in llms-files/llms-oracle-nodes.txt, ensuring it is not available for LLM or other automated reference systems.
  • Deleted the Razor Network Oracle listing from the main documentation index in llms-full.txt, so it no longer appears in the official documentation navigation or summaries.

Checklist

  • Added a label 🏷️ to this PR
  • Ran my changes through Grammarly
  • Added a disclaimer if required
  • If pages were moved, opened a corresponding PR in moonbeam-mkdocs to update redirects

Goes with papermoonio/moonbeam-mkdocs#264

Translations

Does this PR update a page that also exists on the Chinese docs site? See mapping to confirm.

  • Yes
  • No

If Yes, complete the following:

  • Opened a PR on the Chinese docs repo for the corresponding page
  • Updated images, snippets, or variables if they were moved, renamed, or deleted

Link to the corresponding CN docs PR: <INSERT_LINK>

@themacexpert themacexpert requested a review from a team as a code owner October 7, 2025 18:40
@Copilot Copilot AI review requested due to automatic review settings October 7, 2025 18:40
@themacexpert themacexpert added A2 - Maintenance Minor Pull request contains minor updates to an existing page (i.e., modifying parameters, steps, etc.) B0 - Needs Review Pull request is ready for review labels Oct 7, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR decommissions the Razor Network Oracle integration by removing all references, documentation, and metadata from the Moonbeam documentation system. The changes ensure Razor Network is no longer available as an oracle option for developers.

  • Complete removal of Razor Network Oracle documentation and examples
  • Deletion of all references from LLM training files and documentation indices
  • Clean removal from oracle nodes listing to prevent future inclusion

Reviewed Changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.

File Description
builders/integrations/oracles/razor-network.md Complete removal of the Razor Network Oracle documentation file
llms.txt Removed Razor Network Oracle entry from the main documentation index
llms-full.txt Deleted Razor Network Oracle listing and full content from LLM reference file
llms-files/llms-oracle-nodes.txt Removed Razor Network Oracle from oracle nodes doc-page list and content section

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

github-actions bot commented Oct 7, 2025

Style Guide Violations Summary

builders/integrations/oracles/razor-network.md (Line -1)

  • Issue:
    Terminology violation: 'DApp' should be 'dApp' per style guide

  • Correction:

-description: How to request data from a Razor Network Oracle in your Moonbeam Ethereum dApp using smart contracts.

builders/integrations/oracles/razor-network.md (Line -1)

  • Issue:
    Number formatting violation: '5' should be spelled out as 'five'

  • Correction:

- Price feeds are updated every five minutes. More information can be found in [Razor's documentation website](https://docs.razor.network){target=_blank}.

builders/integrations/oracles/razor-network.md (Line -1)

  • Issue:
    Number formatting violation: '1' should be spelled out as 'one'

  • Correction:

-The first function, `getResult`, takes the Job ID associated with the data-feed and fetches the price. For example, if you pass in `one`, you will receive the price of the data-feed related to the Job ID.

builders/integrations/oracles/razor-network.md (Line -1)

  • Issue:
    Number formatting violation: '1' should be spelled out as 'one'

  • Correction:

- - **fetchPrice** - a _view_ function that queries a single Job ID. For example, to fetch the price of `ETH` in `USD`, you will need to send the Job ID `one`

builders/integrations/oracles/razor-network.md (Line -1)

  • Issue:
    Number formatting violation: '[1,2]' should be '[one, two]'

  • Correction:

- - **saveMultiPrices** - a _public_ function that queries multiple Job IDs. For example, to fetch the price of `ETH` and `BTC` in `USD`, you will need to send the Job IDs `[one, two]`.

builders/integrations/oracles/razor-network.md (Line -1)

  • Issue:
    Number formatting violation: '1' should be spelled out as 'one'

  • Correction:

- - **getPrice** - provides the price feed for a single job ID given as input to the function. For example, to fetch the price of `ETH` in `USD`, you will need to send the Job ID `one`

builders/integrations/oracles/razor-network.md (Line -1)

  • Issue:
    Number formatting violation: '[1,2]' should be '[one, two]'

  • Correction:

- - **getMultiPrices** - provides the price feed for multiple Job IDs given as an array input to the function. For example, to fetch the price of `ETH` and `BTC` in `USD`, you will need to send the job IDs `[one, two]`

Copy link

github-actions bot commented Oct 7, 2025

Verification Review

This review focuses on style guide claims, justifications, and confidence scores in the provided documents.


builders/integrations/oracles/razor-network.md (Line 31)

  • Claim:
    Price feeds are updated every 5 minutes.

  • Context:

You can check Job IDs for each data-feed on the Razor Network Explorer{target=_blank}. Price feeds are updated every 5 minutes. More information can be found in Razor's documentation website{target=_blank}.

  • Justification:

Verified Razor Network's documentation and explorer; price feeds are indeed updated approximately every 5 minutes as part of the oracle update cycle.

  • Requires Verification: Yes
  • Confidence Score: 1

builders/integrations/oracles/razor-network.md (Line 60)

  • Claim:
    to fetch the price of ETH in USD, you will need to send the Job ID 1

  • Context:

  • fetchPrice - a view function that queries a single Job ID. For example, to fetch the price of ETH in USD, you will need to send the Job ID 1
  • Justification:

The claim states that Job ID 1 corresponds to the ETH/USD price feed in Razor Network. To ensure accuracy, this must be verified against Razor Network's official documentation or source code, as Job IDs for price feeds may vary or be updated.

  • Requires Verification: Yes
  • Confidence Score: 0.8

eshaben
eshaben previously approved these changes Oct 8, 2025
Copy link
Contributor

@eshaben eshaben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Contributor

@eshaben eshaben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah shoot, one last thing. Need to update the .nav.yml to remove Razor

@themacexpert
Copy link
Contributor Author

Ah shoot, one last thing. Need to update the .nav.yml to remove Razor

good catch thanks!

@themacexpert themacexpert requested a review from eshaben October 8, 2025 17:10
Copy link
Contributor

@eshaben eshaben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@eshaben eshaben added the B2- Blocked Pull request is blocked and should not be merged label Oct 10, 2025
@eshaben
Copy link
Contributor

eshaben commented Oct 10, 2025

Blocked by papermoonio/moonbeam-mkdocs#264 right now

@eshaben eshaben removed the B2- Blocked Pull request is blocked and should not be merged label Oct 10, 2025
@eshaben eshaben merged commit 7470105 into master Oct 10, 2025
3 checks passed
@eshaben eshaben deleted the themacexpert/decomrazor branch October 10, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A2 - Maintenance Minor Pull request contains minor updates to an existing page (i.e., modifying parameters, steps, etc.) B0 - Needs Review Pull request is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants