feat(deploy): thread CorporateActionPauseConfig through unified deployers (RAI-322)#25
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
8b5cd92 to
652a1f2
Compare
1473d68 to
8771cc3
Compare
652a1f2 to
1b96000
Compare
8771cc3 to
f286afe
Compare
1b96000 to
5362638
Compare
f286afe to
e3dd304
Compare
5362638 to
de63173
Compare
e3dd304 to
e2683f3
Compare
de63173 to
7d66e15
Compare
e2683f3 to
e4530d2
Compare
7d66e15 to
14c6010
Compare
e4530d2 to
8a87749
Compare
14c6010 to
d5df7d5
Compare
8a87749 to
c17c99c
Compare
d5df7d5 to
5b2a6b3
Compare
5b2a6b3 to
93eb80d
Compare
…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).
93eb80d to
413917f
Compare
5afd61b to
1615d4d
Compare

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).