Skip to content

chore: remove staking oracle project#971

Merged
curryxbo merged 1 commit into
mainfrom
cleanup-staking-oracle
Jun 3, 2026
Merged

chore: remove staking oracle project#971
curryxbo merged 1 commit into
mainfrom
cleanup-staking-oracle

Conversation

@curryxbo

@curryxbo curryxbo commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Remove the staking oracle project and related configurations:

  • Delete oracle/ directory and all its contents
  • Delete contracts/scripts/oracle-testing/ directory
  • Remove oracle module from go.work
  • Remove oracle references from Makefile
  • Remove staking-oracle build targets from MakefileEks.mk
  • Delete .github/workflows/oracle.yml

Summary by CodeRabbit

Release Notes

  • Chores
    • Removed oracle service module and all associated infrastructure, including build targets, CI/CD workflows, Docker configurations, Kubernetes deployment setup, and module dependencies.

@curryxbo curryxbo requested a review from a team as a code owner June 3, 2026 07:53
@curryxbo curryxbo requested review from r3aker86 and removed request for a team June 3, 2026 07:53

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@coderabbitai

coderabbitai Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@curryxbo, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 16 minutes and 14 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 69762986-14be-4abd-a59b-c1255d668a1a

📥 Commits

Reviewing files that changed from the base of the PR and between 939e545 and a496ea3.

⛔ Files ignored due to path filters (2)
  • go.work is excluded by !**/*.work
  • oracle/go.sum is excluded by !**/*.sum
📒 Files selected for processing (23)
  • .github/workflows/oracle.yml
  • Makefile
  • MakefileEks.mk
  • ops/docker/Dockerfile.staking-oracle
  • oracle/Dockerfile
  • oracle/Makefile
  • oracle/backoff/operation.go
  • oracle/backoff/operation_test.go
  • oracle/backoff/strategies.go
  • oracle/backoff/strategies_test.go
  • oracle/cmd/staking-oracle/main.go
  • oracle/config/config.go
  • oracle/docker-compose.yml
  • oracle/flags/flags.go
  • oracle/flags/flags_test.go
  • oracle/go.mod
  • oracle/metrics/metrics.go
  • oracle/oracle/batch.go
  • oracle/oracle/oracle.go
  • oracle/oracle/reward.go
  • oracle/oracle/rollup.go
  • oracle/oracle/sign.go
  • oracle/oracle/types.go
📝 Walkthrough

Walkthrough

This pull request removes the staking-oracle service from the repository's build and deployment infrastructure by deleting oracle module references from the root Makefile, removing oracle from EKS deployment targets, and updating build pipelines to depend on tx-submitter and token-price-oracle instead.

Changes

Oracle Service Build Infrastructure Removal

Layer / File(s) Summary
Root Makefile oracle module removal
Makefile
Oracle module is removed from update_all_mod target and replaced with tx-submitter and token-price-oracle module updates. Oracle module go mod tidy is removed from fmt-go target, replaced with tx-submitter tidy.
EKS Makefile staking-oracle targets removal
MakefileEks.mk
Staking-oracle build and start targets for both mainnet and qanet environments are removed from EKS Makefile. Minor formatting adjustment to unrelated gas-price-oracle-hoodi target.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • morph-l2/morph#816: Both PRs modify the CI workflow definition for the oracle at .github/workflows/oracle.yml (this PR removes it, the other PR comments/disables it), so they overlap at the workflow level.

Suggested reviewers

  • r3aker86
  • secmgt

Poem

🐰 The oracle hops away with grace,
Its Makefile targets erased,
Build lines now trimmed and clean,
A leaner codebase, serene!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: remove staking oracle project' accurately describes the main objective of the changeset, which is the removal of the staking oracle module and all related configurations.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cleanup-staking-oracle

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@curryxbo curryxbo force-pushed the cleanup-staking-oracle branch 2 times, most recently from 939e545 to 5b63e49 Compare June 3, 2026 08:04
Remove the staking oracle project and related configurations:
- Delete oracle/ directory and all its contents
- Remove oracle module from go.work
- Remove oracle references from Makefile
- Remove staking-oracle build targets from MakefileEks.mk
- Delete .github/workflows/oracle.yml
- Delete ops/docker/Dockerfile.staking-oracle

Note:
- contracts/scripts/oracle-testing is preserved as it is related to token-price-oracle
- ops/docker/Dockerfile.oracle is preserved as it is used for gas-oracle (despite the confusing name)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@curryxbo curryxbo force-pushed the cleanup-staking-oracle branch from 5b63e49 to a496ea3 Compare June 3, 2026 08:06
@curryxbo curryxbo merged commit 319d563 into main Jun 3, 2026
7 checks passed
@curryxbo curryxbo deleted the cleanup-staking-oracle branch June 3, 2026 08:11
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

Successfully merging this pull request may close these issues.

2 participants