Dev - #242
Conversation
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…ectory with 10 updates Bumps the development-dependencies group with 10 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@nomicfoundation/hardhat-verify](https://github.com/NomicFoundation/hardhat/tree/HEAD/packages/hardhat-verify) | `3.0.19` | `3.0.20` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.9.2` | `26.0.0` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.60.1` | `8.61.1` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.60.1` | `8.61.1` | | [@zama-fhe/relayer-sdk](https://github.com/zama-ai/relayer-sdk) | `0.4.3` | `0.4.4` | | [eslint](https://github.com/eslint/eslint) | `10.4.1` | `10.5.0` | | [ethers](https://github.com/ethers-io/ethers.js) | `6.16.0` | `6.17.0` | | [hardhat](https://github.com/NomicFoundation/hardhat/tree/HEAD/packages/hardhat) | `3.8.0` | `3.9.0` | | [prettier](https://github.com/prettier/prettier) | `3.8.3` | `3.8.4` | | [solhint](https://github.com/protofire/solhint) | `6.2.1` | `6.2.3` | Updates `@nomicfoundation/hardhat-verify` from 3.0.19 to 3.0.20 - [Release notes](https://github.com/NomicFoundation/hardhat/releases) - [Changelog](https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat-verify/CHANGELOG.md) - [Commits](https://github.com/NomicFoundation/hardhat/commits/@nomicfoundation/hardhat-verify@3.0.20/packages/hardhat-verify) Updates `@types/node` from 25.9.2 to 26.0.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 8.60.1 to 8.61.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.61.1/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.60.1 to 8.61.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.61.1/packages/parser) Updates `@zama-fhe/relayer-sdk` from 0.4.3 to 0.4.4 - [Release notes](https://github.com/zama-ai/relayer-sdk/releases) - [Commits](zama-ai/relayer-sdk@v0.4.3...v0.4.4) Updates `eslint` from 10.4.1 to 10.5.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v10.4.1...v10.5.0) Updates `ethers` from 6.16.0 to 6.17.0 - [Release notes](https://github.com/ethers-io/ethers.js/releases) - [Changelog](https://github.com/ethers-io/ethers.js/blob/main/CHANGELOG.md) - [Commits](ethers-io/ethers.js@v6.16.0...v6.17.0) Updates `hardhat` from 3.8.0 to 3.9.0 - [Release notes](https://github.com/NomicFoundation/hardhat/releases) - [Changelog](https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat/CHANGELOG.md) - [Commits](https://github.com/NomicFoundation/hardhat/commits/hardhat@3.9.0/packages/hardhat) Updates `prettier` from 3.8.3 to 3.8.4 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.8.3...3.8.4) Updates `solhint` from 6.2.1 to 6.2.3 - [Release notes](https://github.com/protofire/solhint/releases) - [Changelog](https://github.com/protofire/solhint/blob/develop/CHANGELOG.md) - [Commits](protofire/solhint@v6.2.1...v6.2.3) --- updated-dependencies: - dependency-name: "@nomicfoundation/hardhat-verify" dependency-version: 3.0.20 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@types/node" dependency-version: 26.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: development-dependencies - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.61.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: "@typescript-eslint/parser" dependency-version: 8.61.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: "@zama-fhe/relayer-sdk" dependency-version: 0.4.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: eslint dependency-version: 10.5.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: ethers dependency-version: 6.17.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: hardhat dependency-version: 3.9.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: prettier dependency-version: 3.8.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: solhint dependency-version: 6.2.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
…/dev/actions/checkout-7 chore(deps): bump actions/checkout from 6 to 7
…ev/development-dependencies-8848b43d5e chore(deps-dev): bump the development-dependencies group across 1 directory with 10 updates
Bumps the development-dependencies group with 5 updates: | Package | From | To | | --- | --- | --- | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.0.0` | `26.0.1` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.61.1` | `8.62.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.61.1` | `8.62.0` | | [eslint](https://github.com/eslint/eslint) | `10.5.0` | `10.6.0` | | [prettier](https://github.com/prettier/prettier) | `3.8.4` | `3.9.1` | Updates `@types/node` from 26.0.0 to 26.0.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 8.61.1 to 8.62.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.62.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.61.1 to 8.62.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.62.0/packages/parser) Updates `eslint` from 10.5.0 to 10.6.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v10.5.0...v10.6.0) Updates `prettier` from 3.8.4 to 3.9.1 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.8.4...3.9.1) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 26.0.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.62.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: "@typescript-eslint/parser" dependency-version: 8.62.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: eslint dependency-version: 10.6.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: prettier dependency-version: 3.9.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
…ev/development-dependencies-6c9e4a0181 chore(deps-dev): bump the development-dependencies group with 5 updates
Snapshot bufferAmount after sell→buy bufferIncrease apply so proofs can partition dust against the post-sell buffer. Appended at end of storage and shrink __gap 46→45 for UUPS upgrade compatibility.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe PR updates LiquidityOrchestrator epoch accounting and finalization, renames the token-decimals accessor, passes deposit calldata to access control, adds epoch-end tests, and updates package and CI tooling. ChangesProtocol behavior
Tooling updates
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant UpkeepCaller
participant LiquidityOrchestrator
participant VaultOperations
participant EpochState
participant EventsLib
UpkeepCaller->>LiquidityOrchestrator: performUpkeep
LiquidityOrchestrator->>VaultOperations: process vault-operation minibatch
VaultOperations->>EpochState: advance minibatch and phase
EpochState-->>LiquidityOrchestrator: transition to Idle
LiquidityOrchestrator->>EventsLib: emit EpochEnd
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 4
🤖 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 @.github/workflows/ci.yml:
- Line 16: Update all three actions/checkout uses in the CI workflow to
reference the same appropriate full immutable commit SHA instead of the movable
v7 tag, including the checkout steps near lines 16, 71, and 112.
In `@contracts/price/ERC4626PriceAdapter.sol`:
- Line 67: Update the zero-supply return in the ERC4626 price calculation to use
the same immutable underlying-token decimals as the non-empty path, rather than
CONFIG.tokenDecimals(vaultUnderlying). Preserve the existing PRICE_DECIMALS
offset and zero-supply behavior.
In `@contracts/test/LiquidityOrchestratorHarness.sol`:
- Around line 92-96: Do not simulate an impossible uint8 cursor wrap. In
contracts/test/LiquidityOrchestratorHarness.sol lines 92-96, remove the
unchecked increment and either enforce the production batch limit or widen the
cursor consistently with production. In
test/LiquidityOrchestratorEpochEnd.test.ts lines 190-204, replace the wrap
assertion with coverage proving the selected batch-limit or widened-cursor
behavior, while preserving the production behavior implemented around the
LiquidityOrchestrator cursor increment.
In `@package.json`:
- Line 90: Update the pnpm/action-setup configuration in all three jobs within
ci.yml to honor the packageManager pnpm 11.10.0 pin: either remove each explicit
version setting or change all three to the matching pnpm 11.10.0 version,
keeping the repository and CI versions consistent.
🪄 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: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: d2e54a95-2c7a-45f0-827d-ce292314bf8b
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (20)
.github/workflows/ci.ymlcontracts/LiquidityOrchestrator.solcontracts/OrionConfig.solcontracts/access_controllers/WhitelistAccessControl.solcontracts/execution/ERC4626ExecutionAdapter.solcontracts/interfaces/ILiquidityOrchestrator.solcontracts/interfaces/IOrionAccessControl.solcontracts/interfaces/IOrionConfig.solcontracts/price/ERC4626PriceAdapter.solcontracts/test/LiquidityOrchestratorHarness.solcontracts/test/MockERC4626PriceAdapter.solcontracts/test/MockOrionConfig.solcontracts/vaults/OrionVault.solpackage.jsonpnpm-workspace.yamltest/LiquidityOrchestratorEpochEnd.test.tstest/crossAsset/ERC4626ExecutionAdapter.atomic.test.tstest/crossAsset/ERC4626ExecutionAdapter.test.tstest/crossAsset/ERC4626PriceAdapter.test.tstest/crossAsset/MorphoBlueSupplyVault.test.ts
💤 Files with no reviewable changes (2)
- test/crossAsset/ERC4626ExecutionAdapter.atomic.test.ts
- contracts/OrionConfig.sol
Summary by CodeRabbit
buyingLegEntryBuffer) for improved epoch accounting.tokenDecimals(removedgetTokenDecimals), and updated vault adapters/pricing accordingly.