Skip to content

Commit

Permalink
[move] Block request_set_commission_rate (MystenLabs#7390)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfind authored Jan 13, 2023
1 parent 8ccd3ec commit a10b50c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/sui-types/src/messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ use tracing::debug;

const DUMMY_GAS_PRICE: u64 = 1;

const BLOCKED_MOVE_FUNCTIONS: [(ObjectID, &str, &str); 2] = [
const BLOCKED_MOVE_FUNCTIONS: [(ObjectID, &str, &str); 3] = [
(
SUI_FRAMEWORK_OBJECT_ID,
"sui_system",
Expand All @@ -56,6 +56,11 @@ const BLOCKED_MOVE_FUNCTIONS: [(ObjectID, &str, &str); 2] = [
"sui_system",
"request_remove_validator",
),
(
SUI_FRAMEWORK_OBJECT_ID,
"sui_system",
"request_set_commission_rate",
),
];

#[cfg(test)]
Expand Down

0 comments on commit a10b50c

Please sign in to comment.