diff --git a/orm/migrations/2024-10-14-073203_add_cubic_slashing_window_length/down.sql b/orm/migrations/2024-10-14-073203_add_cubic_slashing_window_length/down.sql index d9a93fe9..cd75c83c 100644 --- a/orm/migrations/2024-10-14-073203_add_cubic_slashing_window_length/down.sql +++ b/orm/migrations/2024-10-14-073203_add_cubic_slashing_window_length/down.sql @@ -1 +1 @@ --- This file should undo anything in `up.sql` +ALTER TABLE chain_parameters DROP COLUMN cubic_slashing_window_length; \ No newline at end of file diff --git a/webserver/src/response/utils.rs b/webserver/src/response/utils.rs index bfca7141..bd6a095e 100644 --- a/webserver/src/response/utils.rs +++ b/webserver/src/response/utils.rs @@ -48,7 +48,7 @@ pub fn epoch_progress( let blocks_per_epoch = blocks_per_epoch + (EPOCH_SWITCH_BLOCKS_DELAY as i32); - // We remove 1 to the current_block so progress resets to 0 when new epoch + // We remove 1 from the current_block so progress resets to 0 when new epoch // starts let current_block = current_block - 1;