Skip to content

feat: cloud report#8

Open
gpsanant wants to merge 8 commits into
masterfrom
gpsanant/cloud-reports
Open

feat: cloud report#8
gpsanant wants to merge 8 commits into
masterfrom
gpsanant/cloud-reports

Conversation

@gpsanant

Copy link
Copy Markdown
Collaborator

No description provided.

}

/// @inheritdoc ICloudReportCompendium
function slash(bytes calldata eigendaCert) external {

@solimander solimander Nov 12, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

need to enforce:

a max of SLASH_AMOUNT EIGEN can be slashed per LIVENESS_INTERVAL

require(bytes20(keccak256(eigendaCert)) == _latestReportSubmission.eigendaCertHash, InvalidCertificate());

string memory reason;
if (block.timestamp - _latestReportSubmission.submissionTimestamp >= reportFreshnessThreshold) {

@solimander solimander Nov 13, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should also validate the freshness of the report itself. if the last attested state only covered time T and several slashing intervals pass, submitting a report that still only covers that stale window shouldn’t satisfy liveness or prevent slashing

import {CloudReportCompendiumStorage} from "./storage/CloudReportCompendiumStorage.sol";
import {ICloudReportCompendium} from "./interfaces/ICloudReportCompendium.sol";

contract CloudReportCompendium is

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

who is the proxy admin? ops multisig behind a timelock?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same for the admin setter functions below?

@solimander

Copy link
Copy Markdown
Contributor

During times of planned unavailability an admin multisig can pause slashing and unpause after.

what did you have in mind for this?

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.

2 participants