Skip to content
Open
Changes from all commits
Commits
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
12 changes: 7 additions & 5 deletions engine-core/src/core/control_plane.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,13 @@ impl ControlPlane {
/// Mutate a protocol parameter securely.
///
/// Security properties:
/// - caller must be the initialized admin and must authorize the invocation;
/// - circuit breaker must be closed;
/// - transition must pass the audit module's chained commitment check;
/// - update counter uses checked arithmetic;
/// - reentrancy guard wraps the full mutation.
/// - caller must be the initialized admin and must authorize the invocation;
/// - circuit breaker must be closed;
/// - transition must pass the audit module's chained commitment check;
/// - numeric parameter values should be validated against protocol-defined limits
/// before being accepted by higher-level configuration flows;
/// - update counter uses checked arithmetic;
/// - reentrancy guard wraps the full mutation.
pub fn update_param(
env: Env,
caller: Address,
Expand Down
Loading