Skip to content

chore: bump st0x.deploy submodule for ICorporateActionsV1#20

Closed
hardyjosh wants to merge 1 commit into
mainfrom
chore/bump-st0x-deploy-submodule
Closed

chore: bump st0x.deploy submodule for ICorporateActionsV1#20
hardyjosh wants to merge 1 commit into
mainfrom
chore/bump-st0x-deploy-submodule

Conversation

@hardyjosh

@hardyjosh hardyjosh commented May 9, 2026

Copy link
Copy Markdown
Collaborator

Bumps lib/st0x.deploy from 766b468 to 9955248 (origin/main) and adds the st0x.deploy/= remapping. The newer ref exposes ICorporateActionsV1 — the interface the corporate-action-aware oracle work (RAI-318..328) consumes — along with its supporting libs and the cancelled-node sentinel semantics those rely on.

No functional changes to oracle code in this commit; later PRs in the stack import from the new remapping.

Summary by CodeRabbit

  • Chores
    • Updated dependency mapping configuration to include st0x.deploy.
    • Updated st0x.deploy dependency to a new version.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 9, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@hardyjosh has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 9 minutes and 32 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 285c4386-395c-4098-aa16-3839af134792

📥 Commits

Reviewing files that changed from the base of the PR and between 5897e29 and c8c1b7d.

📒 Files selected for processing (2)
  • foundry.toml
  • lib/st0x.deploy
📝 Walkthrough

Walkthrough

Updates the st0x.deploy submodule to a new commit and adds a foundry.toml remapping entry to wire the dependency into the build configuration system.

Changes

st0x.deploy Integration

Layer / File(s) Summary
Submodule Update
lib/st0x.deploy
Submodule commit reference advanced from 766b468f to 9955248669.
Remapping Configuration
foundry.toml
New remappings entry added mapping st0x.deploy/ to lib/st0x.deploy/.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

A hop, a skip, a new commit found,
The remapping glues it safe and sound,
From lib it flows through foundry's way,
Dependencies dance—hooray, hooray! 🐰✨

🚥 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 accurately describes the main change: bumping the st0x.deploy submodule to expose ICorporateActionsV1 and related functionality.
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 chore/bump-st0x-deploy-submodule

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@foundry.toml`:
- Line 20: The st0x.deploy submodule (referenced as
"st0x.deploy/=lib/st0x.deploy/" in the manifest) is checked out at the wrong
commit (5897e291217dd89e47bd1618c4e811c253ac4fa2); update the submodule to the
expected commit 9955248669714aa37aaaa8fff994d763f6c12e89 by running git
submodule update --init --recursive (or cd into lib/st0x.deploy and
fetch/checkout the commit manually), then commit the updated submodule reference
so the repository points to the correct commit.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ece36339-b079-44fc-8a3a-2027b4facb5f

📥 Commits

Reviewing files that changed from the base of the PR and between 3a24b5d and 5897e29.

📒 Files selected for processing (2)
  • foundry.toml
  • lib/st0x.deploy

Comment thread foundry.toml
Bumps lib/st0x.deploy from 766b468 to 9955248 (origin/main) and adds the st0x.deploy/= remapping. The newer ref exposes ICorporateActionsV1 — the interface the corporate-action-aware oracle work (RAI-318..328) consumes — along with its supporting libs and the cancelled-node sentinel semantics those rely on.

No functional changes to oracle code in this commit; later PRs in the stack import from the new remapping.
@hardyjosh hardyjosh force-pushed the chore/bump-st0x-deploy-submodule branch from 5897e29 to c8c1b7d Compare May 9, 2026 11:51
hardyjosh pushed a commit that referenced this pull request May 11, 2026
Two unrelated CI fixes for the audit stack, bundled because both are
blocking every downstream PR's CI.

1. **subgraph/subgraph.yaml event signatures** — the corp-actions stack
   (PRs #20#26) added a `CorporateActionPauseConfig` struct field to
   `PythOracleAdapterInitialized` and `MultiPythOracleAdapterInitialized`
   event payloads but didn't update the subgraph. As a result the `test`
   job (graph codegen) fails across every PR in the stack — "Event with
   signature ... not present in ABI". Subgraph handlers don't reference
   the new `pauseConfig` tuple, so only the YAML signature lines change.

2. **`vm.expectRevert(abi.encodeWithSelector(ZeroArgError.selector))` →
   `vm.expectRevert(ZeroArgError.selector)`** — foundry-nightly 1.6 has
   an ABI-decoder panic in alloy-dyn-abi-1.5.2 (`range end index 4 out
   of range for slice of length 0`) when running `expectRevert` against
   a zero-arg custom error encoded via `abi.encodeWithSelector(...)`
   with no args. The `bytes4` overload bypasses the buggy decode path.
   Bulk-sed'd across all test files (~92 sites in 20 files). Behaviour
   unchanged — both forms expect the same 4-byte selector.

Closes the `rainix-sol-test` and `test` CI failures across the stack.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
hardyjosh pushed a commit that referenced this pull request May 11, 2026
Two unrelated CI fixes for the audit stack, bundled because both are
blocking every downstream PR's CI.

1. **subgraph/subgraph.yaml event signatures** — the corp-actions stack
   (PRs #20#26) added a `CorporateActionPauseConfig` struct field to
   `PythOracleAdapterInitialized` and `MultiPythOracleAdapterInitialized`
   event payloads but didn't update the subgraph. As a result the `test`
   job (graph codegen) fails across every PR in the stack — "Event with
   signature ... not present in ABI". Subgraph handlers don't reference
   the new `pauseConfig` tuple, so only the YAML signature lines change.

2. **`vm.expectRevert(abi.encodeWithSelector(ZeroArgError.selector))` →
   `vm.expectRevert(ZeroArgError.selector)`** — foundry-nightly 1.6 has
   an ABI-decoder panic in alloy-dyn-abi-1.5.2 (`range end index 4 out
   of range for slice of length 0`) when running `expectRevert` against
   a zero-arg custom error encoded via `abi.encodeWithSelector(...)`
   with no args. The `bytes4` overload bypasses the buggy decode path.
   Bulk-sed'd across all test files (~92 sites in 20 files). Behaviour
   unchanged — both forms expect the same 4-byte selector.

Closes the `rainix-sol-test` and `test` CI failures across the stack.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
hardyjosh pushed a commit that referenced this pull request May 11, 2026
Two unrelated CI fixes for the audit stack, bundled because both are
blocking every downstream PR's CI.

1. **subgraph/subgraph.yaml event signatures** — the corp-actions stack
   (PRs #20#26) added a `CorporateActionPauseConfig` struct field to
   `PythOracleAdapterInitialized` and `MultiPythOracleAdapterInitialized`
   event payloads but didn't update the subgraph. As a result the `test`
   job (graph codegen) fails across every PR in the stack — "Event with
   signature ... not present in ABI". Subgraph handlers don't reference
   the new `pauseConfig` tuple, so only the YAML signature lines change.

2. **`vm.expectRevert(abi.encodeWithSelector(ZeroArgError.selector))` →
   `vm.expectRevert(ZeroArgError.selector)`** — foundry-nightly 1.6 has
   an ABI-decoder panic in alloy-dyn-abi-1.5.2 (`range end index 4 out
   of range for slice of length 0`) when running `expectRevert` against
   a zero-arg custom error encoded via `abi.encodeWithSelector(...)`
   with no args. The `bytes4` overload bypasses the buggy decode path.
   Bulk-sed'd across all test files (~92 sites in 20 files). Behaviour
   unchanged — both forms expect the same 4-byte selector.

Closes the `rainix-sol-test` and `test` CI failures across the stack.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
hardyjosh pushed a commit that referenced this pull request May 11, 2026
Two unrelated CI fixes for the audit stack, bundled because both are
blocking every downstream PR's CI.

1. **subgraph/subgraph.yaml event signatures** — the corp-actions stack
   (PRs #20#26) added a `CorporateActionPauseConfig` struct field to
   `PythOracleAdapterInitialized` and `MultiPythOracleAdapterInitialized`
   event payloads but didn't update the subgraph. As a result the `test`
   job (graph codegen) fails across every PR in the stack — "Event with
   signature ... not present in ABI". Subgraph handlers don't reference
   the new `pauseConfig` tuple, so only the YAML signature lines change.

2. **`vm.expectRevert(abi.encodeWithSelector(ZeroArgError.selector))` →
   `vm.expectRevert(ZeroArgError.selector)`** — foundry-nightly 1.6 has
   an ABI-decoder panic in alloy-dyn-abi-1.5.2 (`range end index 4 out
   of range for slice of length 0`) when running `expectRevert` against
   a zero-arg custom error encoded via `abi.encodeWithSelector(...)`
   with no args. The `bytes4` overload bypasses the buggy decode path.
   Bulk-sed'd across all test files (~92 sites in 20 files). Behaviour
   unchanged — both forms expect the same 4-byte selector.

Closes the `rainix-sol-test` and `test` CI failures across the stack.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
hardyjosh pushed a commit that referenced this pull request May 11, 2026
Two unrelated CI fixes for the audit stack, bundled because both are
blocking every downstream PR's CI.

1. **subgraph/subgraph.yaml event signatures** — the corp-actions stack
   (PRs #20#26) added a `CorporateActionPauseConfig` struct field to
   `PythOracleAdapterInitialized` and `MultiPythOracleAdapterInitialized`
   event payloads but didn't update the subgraph. As a result the `test`
   job (graph codegen) fails across every PR in the stack — "Event with
   signature ... not present in ABI". Subgraph handlers don't reference
   the new `pauseConfig` tuple, so only the YAML signature lines change.

2. **`vm.expectRevert(abi.encodeWithSelector(ZeroArgError.selector))` →
   `vm.expectRevert(ZeroArgError.selector)`** — foundry-nightly 1.6 has
   an ABI-decoder panic in alloy-dyn-abi-1.5.2 (`range end index 4 out
   of range for slice of length 0`) when running `expectRevert` against
   a zero-arg custom error encoded via `abi.encodeWithSelector(...)`
   with no args. The `bytes4` overload bypasses the buggy decode path.
   Bulk-sed'd across all test files (~92 sites in 20 files). Behaviour
   unchanged — both forms expect the same 4-byte selector.

Closes the `rainix-sol-test` and `test` CI failures across the stack.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@hardyjosh

Copy link
Copy Markdown
Collaborator Author

Subsumed by #237 (soldeer migration brings st0x-deploy 0.1.0 directly).

@hardyjosh hardyjosh closed this May 26, 2026
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.

1 participant