Skip to content

Conversation

@neutiyoo
Copy link
Collaborator

@neutiyoo neutiyoo commented May 2, 2025

This pull request includes updates to the storage layout of the MachServiceManager contract and documentation changes for AVS configuration details across multiple files. The most significant changes involve introducing a new deprecated storage slot in the contract and updating documentation to reflect new block generation details and contract addresses.

Contract Changes:

  • Updated the storage layout in MachServiceManager by replacing the __GAP array of size 50 with a new __DEPRECATED_SLOT204 and a reduced __GAP array of size 49 to maintain compatibility while marking a specific storage slot as deprecated. (contracts/docs/storage/MachServiceManager.txt, contracts/src/core/MachServiceManager.sol) [1] [2]

Documentation Updates:

  • Updated block generation details from block 22244692 to 22395872 and corresponding timestamps in AVS configuration files. (docs/avs-details/mainnet/altlayer.md, docs/avs-details/mainnet/cyber.md, docs/avs-details/mainnet/dodochain.md, docs/avs-details/mainnet/gm-network.md, docs/avs-details/mainnet/soneium.md, docs/avs-details/mainnet/xterio.md) [1] [2] [3] [4] [5] [6]
  • Updated contract implementation addresses in the altlayer.md file to reflect the latest deployed versions. (docs/avs-details/mainnet/altlayer.md)

@neutiyoo neutiyoo requested review from bb111189 and Copilot May 2, 2025 13:15
@neutiyoo neutiyoo marked this pull request as ready for review May 2, 2025 13:15
@github-actions github-actions bot added bug Something isn't working XL labels May 2, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the storage layout of the MachServiceManager contract and updates AVS configuration documentation across multiple files. The key changes include:

  • Replacing the __GAP[50] with a new __DEPRECATED_SLOT204 and a reduced __GAP[49] in the storage layout.
  • Updating generation block numbers and timestamps in AVS configuration details for multiple networks.
  • Refreshing contract addresses in the altlayer documentation to reflect the latest deployment.

Reviewed Changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
docs/avs-details/mainnet/xterio.md Updated block number and timestamp
docs/avs-details/mainnet/soneium.md Updated block number and timestamp
docs/avs-details/mainnet/gm-network.md Updated block number and timestamp
docs/avs-details/mainnet/dodochain.md Updated block number and timestamp
docs/avs-details/mainnet/cyber.md Updated block number and timestamp
docs/avs-details/mainnet/altlayer.md Updated block number, timestamp, and contract addresses
contracts/docs/storage/MachServiceManager.txt Updated storage layout: introduced __DEPRECATED_SLOT204 and reduced __GAP array size
Files not reviewed (1)
  • contracts/src/core/MachServiceManager.sol: Language not supported

Comment on lines 44 to +46
|---------------------------+-----------------------------------------------------+------+--------+-------+----------------------------------------------------|
| __GAP | uint256[50] | 204 | 0 | 1600 | src/core/MachServiceManager.sol:MachServiceManager |
| __DEPRECATED_SLOT204 | uint256 | 204 | 0 | 32 | src/core/MachServiceManager.sol:MachServiceManager |
|---------------------------+-----------------------------------------------------+------+--------+-------+----------------------------------------------------|
Copy link

Copilot AI May 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider adding an inline comment explaining the introduction of __DEPRECATED_SLOT204 and the rationale behind reducing the __GAP array size. This additional context will help maintainers understand the storage layout changes.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants