Skip to content

feat(deploy): thread CorporateActionPauseConfig through unified deployers (RAI-322)#25

Open
hardyjosh wants to merge 1 commit into
test/auto-pause-propagationfrom
feat/deployer-corporate-action-config
Open

feat(deploy): thread CorporateActionPauseConfig through unified deployers (RAI-322)#25
hardyjosh wants to merge 1 commit into
test/auto-pause-propagationfrom
feat/deployer-corporate-action-config

Conversation

@hardyjosh

Copy link
Copy Markdown
Collaborator

Extends OracleUnifiedDeployer.newOracleAndProtocolAdapters and MultiOracleUnifiedDeployer.newMultiOracleAndProtocolAdapters with a CorporateActionPauseConfig pauseConfig parameter (calldata) that is forwarded into the oracle adapter's initialize call.

The placeholder all-zero CorporateActionPauseConfig that PR for RAI-320 wired in for compile compatibility is removed; deployment scripts now decide auto-pause configuration explicitly per vault. Pass an all-zero struct for legacy / manual-only mode.

The BeaconSetDeployers (PythOracleAdapterBeaconSetDeployer, MultiPythOracleAdapterBeaconSetDeployer) already accept the full Config struct so they propagate pauseConfig transparently — no signature change required at that layer. Confirms the deployer surface still matches the patterns used in st0x.deploy and the existing OracleRegistry flow is unchanged.

Tests for both unified deployers are updated to thread an empty pauseConfig (existing semantics preserved).

@linear

linear Bot commented May 9, 2026

Copy link
Copy Markdown

RAI-322

@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: 58f568ab-f199-4a99-b75a-1d5bf76918e2

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 feat/deployer-corporate-action-config

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 feat/deployer-corporate-action-config branch from 8b5cd92 to 652a1f2 Compare May 9, 2026 11:51
@hardyjosh hardyjosh force-pushed the test/auto-pause-propagation branch 2 times, most recently from 1473d68 to 8771cc3 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 test/auto-pause-propagation branch from 8771cc3 to f286afe 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 hardyjosh force-pushed the test/auto-pause-propagation branch from f286afe to e3dd304 Compare May 11, 2026 20:42
@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 test/auto-pause-propagation branch from e3dd304 to e2683f3 Compare May 11, 2026 21:22
@hardyjosh hardyjosh force-pushed the feat/deployer-corporate-action-config branch from de63173 to 7d66e15 Compare May 11, 2026 21:22
@hardyjosh hardyjosh force-pushed the test/auto-pause-propagation branch from e2683f3 to e4530d2 Compare May 11, 2026 21:52
@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 test/auto-pause-propagation branch from e4530d2 to 8a87749 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 test/auto-pause-propagation branch from 8a87749 to c17c99c 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
…yers (RAI-322)

Extends OracleUnifiedDeployer.newOracleAndProtocolAdapters and MultiOracleUnifiedDeployer.newMultiOracleAndProtocolAdapters with a CorporateActionPauseConfig pauseConfig parameter (calldata) that is forwarded into the oracle adapter's initialize call.

The placeholder all-zero CorporateActionPauseConfig that PR for RAI-320 wired in for compile compatibility is removed; deployment scripts now decide auto-pause configuration explicitly per vault. Pass an all-zero struct for legacy / manual-only mode.

The BeaconSetDeployers (PythOracleAdapterBeaconSetDeployer, MultiPythOracleAdapterBeaconSetDeployer) already accept the full Config struct so they propagate pauseConfig transparently — no signature change required at that layer. Confirms the deployer surface still matches the patterns used in st0x.deploy and the existing OracleRegistry flow is unchanged.

Tests for both unified deployers are updated to thread an empty pauseConfig (existing semantics preserved).
@hardyjosh hardyjosh force-pushed the feat/deployer-corporate-action-config branch from 93eb80d to 413917f Compare May 31, 2026 11:48
@hardyjosh hardyjosh force-pushed the test/auto-pause-propagation branch from 5afd61b to 1615d4d 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