File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
rust/rbac-registration/src/cardano Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ struct Cip0134UriSetInner {
3939 x_uris : UrisMap ,
4040 /// URIs from c509 certificates.
4141 c_uris : UrisMap ,
42- /// URIs which are taken by another certificates .
42+ /// URIs which are taken by another chains .
4343 taken : HashSet < Cip0134Uri > ,
4444}
4545
@@ -221,7 +221,7 @@ impl Cip0134UriSet {
221221 /// Return the updated URIs set where the provided URIs were taken by other
222222 /// registration chains.
223223 ///
224- /// Updates the current URI set by removing the taken URIs from it .
224+ /// Updates the current URI set by marking URIs as taken .
225225 #[ must_use]
226226 pub fn update_taken_uris (
227227 self ,
Original file line number Diff line number Diff line change 33
44use std:: future:: Future ;
55
6- use cardano_blockchain_types:: { hashes :: TransactionId , StakeAddress } ;
6+ use cardano_blockchain_types:: StakeAddress ;
77use catalyst_types:: catalyst_id:: CatalystId ;
88use ed25519_dalek:: VerifyingKey ;
99
@@ -37,15 +37,8 @@ pub trait RBACState {
3737 key : & VerifyingKey ,
3838 ) -> impl Future < Output = anyhow:: Result < Option < CatalystId > > > + Send ;
3939
40- /// Returns a corresponding to the RBAC chain's Catalyst ID corresponding by the given
41- /// transaction hash.
42- fn chain_catalyst_id_from_txn_id (
43- & self ,
44- txn_id : & TransactionId ,
45- ) -> impl Future < Output = anyhow:: Result < Option < CatalystId > > > + Send ;
46-
47- /// Update the update by "taking" the given `StakeAddress` for the corresponding RBAC
48- /// chain's by the given `CatalystId`.
40+ /// Update the chain by "taking" the given `StakeAddress` for the corresponding
41+ /// RBAC chain's by the given `CatalystId`.
4942 fn take_stake_address_from_chain (
5043 & mut self ,
5144 id : & CatalystId ,
You can’t perform that action at this time.
0 commit comments