Skip to content

docs: README refresh + integrator notes for corporate-action auto-pause (RAI-325)#26

Open
hardyjosh wants to merge 1 commit into
feat/deployer-corporate-action-configfrom
docs/readme-integrator-notes
Open

docs: README refresh + integrator notes for corporate-action auto-pause (RAI-325)#26
hardyjosh wants to merge 1 commit into
feat/deployer-corporate-action-configfrom
docs/readme-integrator-notes

Conversation

@hardyjosh

Copy link
Copy Markdown
Collaborator

README updates:

  • Mention auto-pause behaviour and the MultiPythOracleAdapter alongside PythOracleAdapter in the architecture overview
  • Updated repository structure to reflect src/abstract, MultiPythOracleAdapter / MultiOracleUnifiedDeployer, and LibCorporateActionsPause
  • New § Integrator notes: corporate actions covering: distinct revert selectors (OraclePausedManual vs OraclePausedCorporateAction(uint64)), what happens to lending-market positions during the window, the 'consume convertToAssets if you can't tolerate revert' fallback for integrators that can't stomach a reverting oracle.

@linear

linear Bot commented May 9, 2026

Copy link
Copy Markdown

RAI-325

@coderabbitai

coderabbitai Bot commented May 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9e4ad701-b24b-4155-b717-f81cfac8f6be

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/readme-integrator-notes

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.

hardyjosh commented May 9, 2026

Copy link
Copy Markdown
Collaborator Author

@hardyjosh hardyjosh force-pushed the docs/readme-integrator-notes branch from 3a4993a to ff44dc8 Compare May 9, 2026 11:51
@hardyjosh hardyjosh force-pushed the feat/deployer-corporate-action-config branch from 8b5cd92 to 652a1f2 Compare May 9, 2026 11:51
@hardyjosh hardyjosh force-pushed the docs/readme-integrator-notes branch from ff44dc8 to 4d07787 Compare May 9, 2026 12:08
@hardyjosh hardyjosh force-pushed the feat/deployer-corporate-action-config branch from 652a1f2 to 1b96000 Compare May 9, 2026 12:08
@hardyjosh hardyjosh force-pushed the docs/readme-integrator-notes branch from 4d07787 to f45f652 Compare May 9, 2026 12:21
@hardyjosh hardyjosh force-pushed the feat/deployer-corporate-action-config branch from 1b96000 to 5362638 Compare May 9, 2026 12:21
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 hardyjosh force-pushed the feat/deployer-corporate-action-config branch from 5362638 to de63173 Compare May 11, 2026 20:42
@hardyjosh hardyjosh force-pushed the docs/readme-integrator-notes branch 2 times, most recently from 84e2f79 to b0f9ab3 Compare May 11, 2026 21:22
@hardyjosh hardyjosh force-pushed the feat/deployer-corporate-action-config branch from 7d66e15 to 14c6010 Compare May 11, 2026 21:52
@hardyjosh hardyjosh force-pushed the docs/readme-integrator-notes branch 2 times, most recently from 34be518 to cfbe962 Compare May 11, 2026 22:27
@hardyjosh hardyjosh force-pushed the feat/deployer-corporate-action-config branch from 14c6010 to d5df7d5 Compare May 11, 2026 22:27
@hardyjosh hardyjosh force-pushed the docs/readme-integrator-notes branch from cfbe962 to ad2d7a9 Compare May 26, 2026 17:35
@hardyjosh hardyjosh force-pushed the feat/deployer-corporate-action-config branch from d5df7d5 to 5b2a6b3 Compare May 26, 2026 17:35
@hardyjosh hardyjosh force-pushed the feat/deployer-corporate-action-config branch from 5b2a6b3 to 93eb80d Compare May 26, 2026 18:15
@hardyjosh hardyjosh force-pushed the docs/readme-integrator-notes branch from ad2d7a9 to 6fdcad4 Compare May 26, 2026 18:15
…se (RAI-325)

README updates:
* Mention auto-pause behaviour and the MultiPythOracleAdapter alongside PythOracleAdapter in the architecture overview
* Updated repository structure to reflect src/abstract, MultiPythOracleAdapter / MultiOracleUnifiedDeployer, and LibCorporateActionsPause
* New § Integrator notes: corporate actions covering: distinct revert selectors (OraclePausedManual vs OraclePausedCorporateAction(uint64)), what happens to lending-market positions during the window, the 'consume convertToAssets if you can't tolerate revert' fallback for integrators that can't stomach a reverting oracle.
@hardyjosh hardyjosh force-pushed the docs/readme-integrator-notes branch from 6fdcad4 to c57e684 Compare May 31, 2026 11:48
@hardyjosh hardyjosh force-pushed the feat/deployer-corporate-action-config branch from 93eb80d to 413917f Compare May 31, 2026 11:48
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