File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
rust/rbac-registration/src/registration/cardano Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,11 @@ impl From<anyhow::Error> for RbacValidationError {
5353 }
5454}
5555
56- /// Represents the result yielded by `update_chain` or `start_new_chain` upon successful execution.
56+ /// Represents the result yielded by `update_chain` or `start_new_chain` upon successful
57+ /// execution.
5758pub struct RbacValidationSuccess {
59+ /// A Catalyst ID of the chain this registration belongs to.
60+ pub catalyst_id : CatalystId ,
5861 /// A list of stake addresses that were added to the chain.
5962 pub stake_addresses : HashSet < StakeAddress > ,
6063 /// A list of role public keys used in this registration.
@@ -150,6 +153,7 @@ where
150153 }
151154
152155 Ok ( RbacValidationSuccess {
156+ catalyst_id,
153157 stake_addresses,
154158 public_keys,
155159 // Only new chains can take ownership of stake addresses of existing chains, so in this
@@ -260,6 +264,7 @@ where
260264 }
261265
262266 Ok ( RbacValidationSuccess {
267+ catalyst_id,
263268 stake_addresses : new_addresses,
264269 public_keys,
265270 modified_chains : updated_chains. into_iter ( ) . collect ( ) ,
You can’t perform that action at this time.
0 commit comments