File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
rust/rbac-registration/src Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ impl Cip509 {
230230 }
231231
232232 /// Returns signing public key for a role.
233- /// Would return only signing public keys for the present ceritificates ,
233+ /// Would return only signing public keys for the present certificates ,
234234 /// if certificate marked as deleted or undefined it would be skipped.
235235 #[ must_use]
236236 pub ( crate ) fn signing_pk_for_role (
Original file line number Diff line number Diff line change 1- //! Cardano RBAC state traits, which are used during different statefull validation
1+ //! Cardano RBAC state traits, which are used during different stateful validation
22//! procedures.
33
44use std:: future:: Future ;
@@ -44,7 +44,7 @@ pub trait RBACState {
4444 txn_id : & TransactionId ,
4545 ) -> impl Future < Output = anyhow:: Result < Option < CatalystId > > > + Send ;
4646
47- /// Update the update by "taking" the given `StakeAddress` for the correspoding RBAC
47+ /// Update the update by "taking" the given `StakeAddress` for the corresponding RBAC
4848 /// chain's by the given `CatalystId`.
4949 fn take_stake_address_from_chain (
5050 & mut self ,
Original file line number Diff line number Diff line change @@ -542,7 +542,7 @@ impl RegistrationChainInner {
542542 if cat_id == & self . catalyst_id {
543543 cip509. report ( ) . functional_validation (
544544 & format ! (
545- "Trying to apply the first registration to the assosiated {} again" ,
545+ "Trying to apply the first registration to the associated {} again" ,
546546 cat_id. as_short_id( )
547547 ) ,
548548 "It isn't allowed to submit first registration twice" ,
@@ -642,9 +642,9 @@ impl RegistrationChainInner {
642642 Some ( new_inner)
643643 }
644644
645- /// Update the registration chain with the `cip509` assosiated to another chain.
645+ /// Update the registration chain with the `cip509` associated to another chain.
646646 /// This is the case when registration for different chain affecting the current one,
647- /// by invalidating some data for the current registration chain (stoling stake
647+ /// by invalidating some data for the current registration chain (stealing stake
648648 /// addresses etc.).
649649 ///
650650 /// The provided `cip509` should be fully validated by another chain before trying to
You can’t perform that action at this time.
0 commit comments