From 17c226fdd8711f45e758bbe9423faa124171da0d Mon Sep 17 00:00:00 2001 From: Julien Tesson Date: Fri, 16 Feb 2024 11:10:17 +0100 Subject: [PATCH 1/2] proto/delegate_slashed: update documentation --- .../delegate_slashed_deposits_storage.mli | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/proto_alpha/lib_protocol/delegate_slashed_deposits_storage.mli b/src/proto_alpha/lib_protocol/delegate_slashed_deposits_storage.mli index 83d4d2f09930..02e0705ade68 100644 --- a/src/proto_alpha/lib_protocol/delegate_slashed_deposits_storage.mli +++ b/src/proto_alpha/lib_protocol/delegate_slashed_deposits_storage.mli @@ -25,10 +25,14 @@ (* *) (*****************************************************************************) -(** This module maintains the storage related to slashing of delegates for - double signing. In particular, it is responsible for maintaining the - {!Storage.Already_denounced}, {!Storage.Contract.Slashed_deposits}, and - {!Storage.Pending_denunciations} tables. +(** This module handles the slashing of delegates for double signing. + + It is behind the {!Alpha_context} abstraction: some functions are + re-exported in {!Alpha_context.Delegate}. + + This module is responsible for maintaining the + {!Storage.Contract.Slashed_deposits} table. It also interacts + heavily with {!Pending_denunciations_storage}. *) (** The [reward_and_burn] type embeds amounts involved when slashing a -- GitLab From c2dc1bdcae8c7e8d95c3652968538b2428fef1f7 Mon Sep 17 00:00:00 2001 From: Julien Tesson Date: Thu, 14 Mar 2024 11:29:39 +0100 Subject: [PATCH 2/2] proto/adaptive_issuance_services: fix RPC doc --- src/proto_alpha/lib_protocol/adaptive_issuance_services.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto_alpha/lib_protocol/adaptive_issuance_services.ml b/src/proto_alpha/lib_protocol/adaptive_issuance_services.ml index 59d1f473dc5c..2907d0a2434f 100644 --- a/src/proto_alpha/lib_protocol/adaptive_issuance_services.ml +++ b/src/proto_alpha/lib_protocol/adaptive_issuance_services.ml @@ -148,7 +148,7 @@ module S = struct RPC_service.get_service ~description: "Returns the expected issued tez for the provided block and the next \ - three cycles" + 'consensus_rights_delay' cycles" ~query:RPC_query.empty ~output:(Data_encoding.list expected_rewards_encoding) RPC_path.(path / "expected_issuance") -- GitLab