Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACP 99 reference implementation #700

Merged
merged 26 commits into from
Jan 31, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup
  • Loading branch information
cam-schultz committed Jan 10, 2025
commit 23344f8f720237f452778b03d1dcb401f384d846
2 changes: 2 additions & 0 deletions contracts/validator-manager/ACP99Manager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
uint64 endTime;
}

// solhint-disable ordering

/*
* @title ACP99Manager
* @notice The ACP99Manager interface represents the functionality for sovereign L1
Expand Down Expand Up @@ -111,7 +113,7 @@
);

/// @notice Returns the SubnetID of the L1 tied to this manager
function subnetID() virtual public view returns (bytes32 subnetID);

/// @notice Returns the validator details for a given validation ID.
function getValidator(
Expand Down
15 changes: 0 additions & 15 deletions contracts/validator-manager/interfaces/IValidatorManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,6 @@ struct ValidatorRegistrationInput {
* @notice Interface for Validator Manager contracts that implement Subnet-only Validator management.
*/
interface IValidatorManager {

/**
* @notice Event emitted when validator weight is updated.
* @param validationID The ID of the validation period being updated
* @param nonce The message nonce used to update the validator weight
* @param weight The updated validator weight that is sent to the P-Chain
* @param setWeightMessageID The ID of the ICM message that updates the validator's weight on the P-Chain
*/
event ValidatorWeightUpdate(
bytes32 indexed validationID,
uint64 indexed nonce,
uint64 weight,
bytes32 setWeightMessageID
);

/**
* @notice Resubmits a validator registration message to be sent to the P-Chain.
* Only necessary if the original message can't be delivered due to validator churn.
Expand Down
Loading